I created an gui application in netbeans 7.2 in java. I created a JFrame there. it was set to nimbus look and feel in auto generated code. but my frame is not look like nimbus.
so I debug the code and found nimbus is not available in the array returned by getInstalledLookAndFeels().
so what should I do to install nimbus look and feel? JDK 1.6 used to compile the code.
Make sure your java version is greater than:
JDK 6 Update 10.
See here:
you can download the latest Java (7u9) and Netbeans (7.2.1) versions (bundled) here:
After that you should be good to go, dont forget to set the L&F from within
Event Disptach Threadtoo: