Advertisement
Guest User

Main

a guest
Apr 27th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.44 KB | None | 0 0
  1. package gui;
  2.  
  3. import java.awt.EventQueue;
  4.  
  5. public class Main {
  6.  
  7.     public static void main(String[] args) {
  8.         EventQueue.invokeLater(new Runnable() {
  9.             public void run() {
  10.                 try {
  11.                     UI window = new UI();
  12.                     window.frame.setVisible(true);
  13.                 } catch (Exception e) {
  14.                     e.printStackTrace();
  15.                 }
  16.             }
  17.         });
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement