Dilshan Edirisuriya SCJP1.4, SCWCD1.4, SCBCD 5
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Originally posted by Rob Prime:
does this behaviour differ from other applications?
Dilshan Edirisuriya SCJP1.4, SCWCD1.4, SCBCD 5
Dilshan Edirisuriya SCJP1.4, SCWCD1.4, SCBCD 5
Dilshan Edirisuriya SCJP1.4, SCWCD1.4, SCBCD 5
Originally posted by Maneesh Godbole:
This MUST be called before your create your UI.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
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.
Any suggestions?
Sk.Ashokkumar.....
Dilshan Edirisuriya SCJP1.4, SCWCD1.4, SCBCD 5
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.
Dilshan Edirisuriya SCJP1.4, SCWCD1.4, SCBCD 5
Dilshan Edirisuriya SCJP1.4, SCWCD1.4, SCBCD 5
Don't get me started about those stupid light bulbs. |