openFile = new JMenuItem("Open File");
openFile.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_O,
Event.META_MASK));
fileMenu.add(openFile);
openFile.setEnabled(false);
openFile.addActionListener(this);
fileMenu.addSeparator();
I didn't know that there was a JSeparator - not in my rather ancient
edition of Geary. Perhaps I should try an explicit instance of that.
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden