Trouble with Nimbus

  3 posts   Feedicon  
Replies: 2 - Last Post: January 28, 2010 15:11
by: mawcs
showing 1 - 3 of 3
 
Posted: January 25, 2010 00:54 by mawcs
I'm using the Application.lookAndFeel property in my properties file. I have it set using "com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel." However, I've discovered that my application doesn't always load Nimbus because the path of Nimbus has changed in various releases of JSE. The recommendation from Sun is to not load Nimbus directly using the class name, but instead by looping through the installed lafs.

Because of this, I suggest that we modify Application.java to include another "special" circumstance similar to "default" and "system." The third, obviously, would be "nimbus" and include the appropriate loop to add the look and feel.

For details:
http://java.sun.com/docs/books/tutorial/uiswing/lookandfeel/nimbus.html

It's a trivial change and I'd be happy to submit code if you like. In the short-term, I will make the change to my local version of BSAF.
 
Posted: January 28, 2010 09:32 by etf
Thanks for your input. Could you create a jira issue and attach you patch there?
 
Posted: January 28, 2010 15:11 by mawcs
Done: http://kenai.com/jira/browse/BSAF-75
Replies: 2 - Last Post: January 28, 2010 15:11
by: mawcs
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close