|
@@ -765,13 +765,6 @@ public final class MainFrame extends JFrame implements WindowListener,
|
765
|
765
|
menuItem.addActionListener(this);
|
766
|
766
|
windowsMenu.add(menuItem);
|
767
|
767
|
|
768
|
|
- menuItem = new JMenuItem();
|
769
|
|
- menuItem.setMnemonic('a');
|
770
|
|
- menuItem.setText("Close all");
|
771
|
|
- menuItem.setActionCommand("CloseAll");
|
772
|
|
- menuItem.addActionListener(this);
|
773
|
|
- windowsMenu.add(menuItem);
|
774
|
|
-
|
775
|
768
|
windowsMenu.addSeparator();
|
776
|
769
|
|
777
|
770
|
int i = 0;
|
|
@@ -811,8 +804,6 @@ public final class MainFrame extends JFrame implements WindowListener,
|
811
|
804
|
((Frame) MainFrame.getMainFrame().getActiveFrame()).minimise();
|
812
|
805
|
} else if (e.getActionCommand().equals("Close")) {
|
813
|
806
|
((Frame) MainFrame.getMainFrame().getActiveFrame()).close();
|
814
|
|
- } else if (e.getActionCommand().equals("CloseAll")) {
|
815
|
|
- ServerManager.getServerManager().closeAll();
|
816
|
807
|
}
|
817
|
808
|
}
|
818
|
809
|
|