[Bug 229112] Re: swing.properties should be in /etc, so the Java Look and Feel can be changed

resplin richard-oss at esplins.org
Fri Feb 19 23:56:28 UTC 2010


I think the request in the new description makes a lot of sense (though
it probably would have been better as a new bug report).

The user should be able to change the default look and feel be editing
something in /etc. There are already a number of java properties files
in /etc/java-6-sun that allow manipulation of other configuration
settings.

As a work-around, I created /etc/java-6-sun/swing.properties with the swing.defaultlaf setting, and symlinked it to /usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib. For anyone getting here via Google, the correct value for Nimbus is: 
com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
(beware though, it can cause Null Pointer Exceptions, see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6800801)

-- 
swing.properties should be in /etc, so the Java Look and Feel can be changed
https://bugs.launchpad.net/bugs/229112
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list