import java.awt.*; import java.awt.event.*; public class OptionsWindow extends WindowAdapter implements ActionListener { /** Frame for changing any options during the game */ protected static Frame optionswindow; /** Says what the options are and stuff */ protected static Label optionslabel; protected OptionsWindow() { optionswindow = new Frame("Game options"); optionswindow.setLayout(new FlowLayout()); optionswindow.addWindowListener(this); optionslabel = new Label("Sorry, no options available at this time."); optionswindow.add(optionslabel); optionswindow.pack(); optionswindow.show(); } // optionsWindow(); public void actionPerformed(ActionEvent evt) { String command = evt.getActionCommand(); } public void windowClosing(WindowEvent event) { optionswindow.dispose(); } // windowClosing(WindowEvent) }