GtkLookAndFeel
I have 1.4.2 Blackdown debs installed:
$ apt-cache show j2re1.4 j2sdk1.4 | grep-dctrl -sVersion .
Version: 1.4.2.01-1
Version: 1.4.2.01-1
I want to use GtkLookAndFeel. But it is not available:
This code:
import javax.swing.UIManager;
class Foo {
public static void main(String args[]) {
UIManager.LookAndFeelInfo[] info =
UIManager.getInstalledLookAndFeels();
for(int i = 0; i < info.length; i++) {
System.out.println(info[i].getClassName());
System.out.println(info[i].getName());
}}}
outputs this output:
javax.swing.plaf.metal.MetalLookAndFeel
Metal
com.sun.java.swing.plaf.motif.MotifLookAndFeel
CDE/Motif
com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Windows
However /usr/lib/j2se/1.4/jre/lib/rt.jar contains all the
com.sun.java.swing.plaf.gtk.GTKLookAndFeel.* files.
How can I use GtkLookAndFeel?
Reply to: