C:\Users\notebook\Documents\NetBeansProjects\CS2\src\gui\GUI6.java
 1 /*
 2  * GUI6 is like GUI5, but with a different structure. The frame class has
 3  * been moved to a frame package.
 4  */
 5 package gui;
 6 
 7 import frames.KFrame6;
 8 import javax.swing.SwingUtilities;
 9 
10 /**
11  *
12  * @author notebook
13  */
14 public class GUI6 {
15 
16     /**
17      * @param args the command line arguments
18      */
19     public static void main(String[] args) {
20         SwingUtilities.invokeLater(new ThreadForGUI());
21     }
22 
23     private static class ThreadForGUI implements Runnable {
24 
25         public void run() {
26             GUI6 gui = new GUI6();
27         }
28     }
29 
30     public GUI6() {
31         KFrame6 frame = new KFrame6("GUI 6");
32     }
33 
34 }
35