Ok, so lets say you created a GUI that extends JFrame named NewMovieFrame. The code to allow the JButton to open the frame would look like this:

//Our Button that will open the new JFrame
JButton...