I assume that you want to use the appearance of the system regardless of the platform on which your application is running. This can be done using
UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() );
by the main () method (you should handle possible exceptions, of course ;-).
Since I do not have Vista installed, I cannot check if jvm supports vista file ...
edit: It seems to be possible with the above statement. See this topic on the java forums:
http://forums.sun.com/thread.jspa?threadID=5287193&tstart=345
source
share