PDA

View Full Version : New to netbeans, LAF question




Jasonbot
Sep 7, 2008, 10:07 AM
I'm coding a java project in netbeans but the programme always uses the default OS X LAF. How do I get netbeans to make my projects run with say the Metal LAF?



sord
Sep 7, 2008, 10:12 AM
I find it surprising that you knew what to look for (look and feel) but couldn't find it...

http://java.sun.com/docs/books/tutorial/uiswing/lookandfeel/plaf.html

Jasonbot
Sep 7, 2008, 10:25 AM
so there's no netbeans setting that I can change to do this? :(

also:
I get this error:

unreported exception java.lang.ClassNotFoundException; must be caught or declared to be thrown

I don't think I have te default LAF installed, where do I get it?

sord
Sep 7, 2008, 02:12 PM
If you're using Matisse, there may be a setting somewhere -- not sure.

For the ClassDefNotFound, what class did you pass when trying to change the LAF?