(WindowEvent e)
| 764 | } |
| 765 | |
| 766 | public void windowActivated(WindowEvent e) { |
| 767 | if (IJ.isMacintosh() && !quitting) { |
| 768 | IJ.wait(10); // may be needed for Java 1.4 on OS X |
| 769 | MenuBar mb = Menus.getMenuBar(); |
| 770 | if (mb!=null && mb!=getMenuBar() && !IJ.isMacro()) { |
| 771 | setMenuBar(mb); |
| 772 | Menus.setMenuBarCount++; |
| 773 | //if (IJ.debugMode) IJ.log("setMenuBar: "+Menus.setMenuBarCount); |
| 774 | } |
| 775 | } |
| 776 | } |
| 777 | |
| 778 | public void windowClosed(WindowEvent e) {} |
| 779 | public void windowDeactivated(WindowEvent e) {} |
nothing calls this directly
no test coverage detected