Thursday Aug 07, 2008

Short Look&Feel Switches for NetBeans

NetBeans as any other java application can be run in various look and feels. Generally you can switch the look&feel by adding the jar with look&feel classes to classpath of your application and specifying the required look and feel with --laf command line switch.
  • netbeans --cp:p C:\\looks-1.2.2.jar --laf com.jgoodies.plaf.plastic.PlasticXPLookAndFeel
For you convenience there are new "shortcuts" for switching the well known look and feels.
  • Metal
  • Nimbus
  • GTK
  • Windows
  • Aqua
How it works? Use "netbeans --laf Metal" and you are 10 years back ;)
Please, be aware that not all the switches works on all platforms. The Metal and Nimbus will work on all operating systems however Nimbus is part of jdk 6. Aqua works only on Macs. GTK on unixes. And Windows is obvious, isn't it?.

Wanna know more?
About

Team blog of NetBeans Core and Platform Quality Assurance team

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today