Created
August 6, 2014 09:21
-
-
Save LordNairu/ebf5a8d5dfc54dcfee74 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package gui.alt; | |
import javax.swing.JFrame; | |
import javax.swing.SwingUtilities; | |
public class App { | |
public static void main(String[] args) { | |
SwingUtilities.invokeLater(new Runnable() { | |
public void run() { | |
JFrame frame; | |
CinemaMenuBar cinemaMenuBar = new CinemaMenuBar(); | |
frame = new MainFrame("Screen One Solutions - Cinema Ticketing Software"); | |
frame.setSize(1024, 768); | |
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); | |
frame.setJMenuBar(cinemaMenuBar); | |
frame.setVisible(true); | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment