Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get Java XP Look and Feel

I want to give XP Look and Feel to my Java Desktop Appliction, regardless of the platform it will run.

I came to know that since JDK 1.4, Sun Microsystems has officially released a look and feel for XP - com.sun.java.swing.plaf.windows.WindowsLookAndFeel

I am using Java 1.6 but when I didn't find any package named windows in javax.swing.plaf package.

Q1. How can I use the XP Look and Feel?

Q2. Will using this look and feel will appear same on all platforms (mac, solaris, linux)?

like image 853
Yatenda Goel Avatar asked Mar 31 '10 17:03

Yatenda Goel


1 Answers

You can't. The XP look and feel, along with several of the other platform-flavoured look-and-feels, depends on native support from the actual platform. It can only be used on XP.

like image 177
SamB Avatar answered Oct 13 '22 01:10

SamB