package options; import javax.swing.*; /**** * * OptionsUI is the top-level class for prototype GUIs related to Calendar Tool * options commands. This is a very simple prototype version that constructs a * menu with JMenu items, but without any action listeners. As such, its the * very simplest form of initial GUI prototype for a menu. * */ public class OptionsUI { public JMenu getMenu() { optionsMenu = new JMenu("Options"); optionsMenu.add(new JMenuItem("Times and Dates ...")); optionsMenu.add(new JMenuItem("Scheduling ...")); optionsMenu.add(new JMenuItem("Viewing ...")); optionsMenu.add(new JMenuItem("Optionsistrative ...")); return optionsMenu; } protected JMenu optionsMenu; }