<Swing Dev> JDesktopPane and menu bars
Sergey.Bylokhov at oracle.com
Tue Jun 26 22:03:27 UTC 2018
I think this use case is not specified and it was implemented in the
same way as it works in jdk 6 from Apple.
On 26/06/2018 07:58, Alan Snyder wrote:
> I gather from recent bug fixes that JDesktopPane is being used, but I don’t have a feel for how it is being used. Can someone explain?
> My specific question: if a JInternalFrame is used on macOS and the screen menu bar is enabled for Java, should the frame menu bar be displayed in the frame or should it hook to the screen menu bar?
> I have a test program that displays Swing components using a variety of LAFs. In this program, the menu bar is displayed in the frame, which is fine for my purposes.
> But, what answer makes the most sense in the context of actual use?
Best regards, Sergey.
More information about the swing-dev