Logo Search packages:      
Sourcecode: fex version File versions  Download package

JMenuItem fix::AppletFrame::getExitItem (  )  [inline, private]

Initializes exitItem

Returns:
javax.swing.JMenuItem

Definition at line 493 of file AppletFrame.java.

Referenced by getFileMenu().

                                      {
            if (exitItem == null) {
                  exitItem = new JMenuItem();
                  exitItem.setText("Quit");
                  exitItem.setMnemonic('Q');
                  exitItem.setIcon(exitImg);
                  exitItem.setActionCommand("exit");
                  exitItem.addActionListener(this);
            }
            return exitItem;
      }


Generated by  Doxygen 1.6.0   Back to index