Commit | Line | Data |
---|---|---|
35d7ecda JB |
1 | public class Main { |
2 | ||
3 | public static void main(String[] args) { | |
4 | //Schedule a job for the event-dispatching thread: | |
5 | //creating and showing this application's GUI. | |
6 | ||
7 | javax.swing.SwingUtilities.invokeLater(new Runnable() { | |
8 | public void run() { | |
9 | new HelloWorldSwing("HelloWorldSwing").showGUI(); | |
10 | } | |
11 | }); | |
12 | } | |
13 | } |