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)?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With