C:\Users\notebook\Documents\NetBeansProjects\CS2\src\gui\GUI7.java
 1 /*
 2  * GUI7 is like GUI6 except tht the buttons are now all placed in the 
 3  * northern region, a text field is placed in the southern region, and
 4  * the east and west regions are eliminated. Action commands corresponding 
 5  * to the button names that are typed into the text area are interpreted as 
 6  * though buttons were pressed, except that case does not matter. Also,
 7  * random color functionality is added.
 8  */
 9 package gui;
10 
11 import frames.KFrame7;
12 import javax.swing.SwingUtilities;
13 
14 /**
15  *
16  * @author notebook
17  */
18 public class GUI7 {
19 
20     /**
21      * @param args the command line arguments
22      */
23     public static void main(String[] args) {
24         SwingUtilities.invokeLater(new ThreadForGUI());
25     }
26 
27     private static class ThreadForGUI implements Runnable {
28 
29         public void run() {
30             GUI7 gui = new GUI7();
31         }
32     }
33 
34     public GUI7() {
35         KFrame7 frame = new KFrame7("GUI 7");
36     }
37 
38 }
39