$PKGLINE import javax.swing.*; import java.awt.event.*; /** * $CLASSNAME Description. * * @author your name * @version mm/yyyy */ public class $CLASSNAME implements ActionListener { // Application variables private JFrame myFrame; /** * Schedule a job for the event-dispatching thread * to create and show this application's GUI. * * @param args program arguments */ public static void main(String[] args) { javax.swing.SwingUtilities.invokeLater(new Runnable() { public void run() { $CLASSNAME my$CLASSNAME = new $CLASSNAME(); my$CLASSNAME.createAndShowGUI(); } }); } /** * Create and show the graphical user interface. */ private void createAndShowGUI() { // Set up and show the application frame myFrame = new JFrame("$CLASSNAME"); myFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); myFrame.pack(); myFrame.setVisible(true); } /** * Enable user interaction. * * @param ae the specified action event */ public void actionPerformed(ActionEvent ae) { } }