On 27 Aug 2006, at 15:46, Werner Randelshofer wrote:
IMO, in an MDI application, only the outer frame should have a menu
bar, document windows shouldn't have one.
I think it is okay, if palette windows have a menu button, but they
shouldn't have a menu bar.
Thinking about palettes: The framework does not handle them in a
platform independent way. Only DefaultOSXApplication supports them.
Maybe, I should add a Palette interface or something to it.
Also thinking about palettes: If you're using the screen menu bar and
you have floating palettes implemented as JDialogs of a JFrame that
has the global menu bar, there's a problem with keyboard
accelerators: the menu bar works fine with the mouse, but if you
press, say, Command-N for "New", the File menu highlights in the
normal way but the "New" menu item doesn't fire. If you call
setFocusableWindowState(false) on the palettes, then it works, but
then you can't have any text fields in your palettes.I imagine this
is a bug in focus handling for the screen menu bar. Does anyone know
of a workround which allows you to have floating palettes with text
fields and a menu bar which works properly?
Jerry
_______________________________________________
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