mirror of
https://github.com/processing/processing4.git
synced 2026-02-20 13:55:37 +01:00
trying to figure out menu troubles
This commit is contained in:
@@ -970,7 +970,9 @@ public class Base {
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// offers no speed improvement
|
||||
//menu.addActionListener(listener);
|
||||
|
||||
boolean ifound = false;
|
||||
|
||||
for (int i = 0; i < list.length; i++) {
|
||||
|
||||
@@ -154,7 +154,7 @@ public class Editor extends JFrame {
|
||||
addWindowListener(new WindowAdapter() {
|
||||
public void windowActivated(WindowEvent e) {
|
||||
base.handleActivated(Editor.this);
|
||||
|
||||
|
||||
// re-add the sub-menus that are shared by all windows
|
||||
fileMenu.insert(sketchbookMenu, 2);
|
||||
fileMenu.insert(examplesMenu, 3);
|
||||
|
||||
Reference in New Issue
Block a user