Skip to content

Instantly share code, notes, and snippets.

@LordNairu
Created August 6, 2014 09:21
Show Gist options
  • Save LordNairu/ebf5a8d5dfc54dcfee74 to your computer and use it in GitHub Desktop.
Save LordNairu/ebf5a8d5dfc54dcfee74 to your computer and use it in GitHub Desktop.
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