I am running Java 1.6.0_31 on my machine and would like to have "Nimbus" set as the default look-and-feel for my Java applications. I have followed the instructions obtained from the Oracle java website i.e. by creating a text file named [b]swing.properties[/b] with the following line of code [b]swing.defaultlaf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel[/b] and placed in the [italic]lib[/italic] folder of both the JDK and JRE installation directory.
However this does not work as i'm still getting the Metal look when i run my programs. Nimbus only works when i set it programmatically.
Is there any other method to set it as the default look-and-feel?
0 · ·