Originally posted by Rob Prime:
does this behaviour differ from other applications?
Originally posted by Maneesh Godbole:
This MUST be called before your create your UI.
Originally posted by Dilshan Edirisuriya:
Also note that I have added System.setProperty("apple.laf.useScreenMenuBar", "true") in the coding, so that all the menu items will be in the Mac menu bar. Once I make this false it appear as a normal JFrame window with the menu bar and it does not produce this issue.
The reason for this behavior is moving the menubar from the frame to mac os menu bar position.
I tried to solve this issue by making it heavyweight using JPopupMenu.setDefaultLightWeightPopupEnabled(false. But also it did not work.
Originally posted by ashok:
In mac normally we don't want to set any look and feel.because mac takes the menubar for it's own.