Advertisement
Guest User

main

a guest
Jan 18th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. public class App {
  2.  
  3. public static void main(String[] args) {
  4. EmployeeDatabase employeeDatabase = new EmployeeDatabase();
  5. SwingUtilities.invokeLater(() -> {
  6. StartWindowGUI gui = new StartWindowGUI(employeeDatabase);
  7. JFrame frame = new JFrame();
  8. frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  9. frame.getContentPane().add(gui);
  10. frame.pack();
  11. frame.setVisible(true);
  12. });
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement