Perspective skin l & f

is there anywhere on the vista website to view and test the java theme pack?

+3
source share
3 answers

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

+2
source

SWT, . , swing, .

0

Java6u13 Vista Windows LookAndFeel, . Java.

Sun LookAndFeel , SwingSet, System LookAndFeel . , LookAndFeel.

 UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
dhiller, . , Vista , Vista.

- Substance Nimbus, - . , Nimbus 6u10.

0

Source: https://habr.com/ru/post/1697367/


All Articles