a) Any reason you are using AWT rather than Swing (same components with the 'J' prefix). b) Create your GUI on the EDT by dispatching its creation to SwingUtilities.invokeAndWait in the main method...