Java-Gaming.org
Java4K - to go         Javadoc:
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources or peek at the official java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  *lightWeight" problem on Leopard  (Read 707 times)
0 Members and 1 Guest are viewing this topic.
Offline Maok

JGO n00b
*

Posts: 47


Java games rock!


« on: 2008-01-10 10:25:59 »

Hi

I'm developing a project in JOGL. Everything worked well so far, but since I upgraded my macbook to Leopard, the JMenuItem pop under the JOGL canvas. I do have the following line preventing that behaviour to happen on linux and windows (and osx 10.4 if i remember well)
JPopupMenu.setDefaultLightWeightPopupEnabled(false);

is this a known bug ?
Offline Ken Russell

JGO Kernel
*****

Posts: 3446
Medals: 3


Java games rock!


« Reply #1 on: 2008-01-12 08:41:30 »

Sounds like a bug in Leopard. Do you have a small test case which shows the problem?

You should probably report this issue on the Mac Java mailing list, but if you can post a test case here I can help you get a bug report filed.
Offline Maok

JGO n00b
*

Posts: 47


Java games rock!


« Reply #2 on: 2008-01-14 08:23:59 »

ok, i found the problem
i have a call to
UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
and i guess this call must be messing around with the LightWeightPopup (but somehow only on Leopard)
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.075 seconds with 21 queries.