J2SE 1.4.2 Beta has just been released. Please try it out and let us
know what you think. The sooner we get bug reports, the sooner we can
address them.
In particular, you may be interested in:
- Changes to the Windows look and feel so that it looks like XP when
run on XP.
- A new GTK look and feel - skinnable!
http://java.sun.com/j2se/1.4.2/index.html
Shannon
--
Shannon Hickey
shan...@swingteam.com
Swing Team http://TheSwingConnection.com http://TheJavaTutorial.com
Java Software, a division of Sun Microsystems, Inc.
Alex Molochnikov
Gestalt Corporation
"Shannon Hickey - Swing Team" <shan...@swingteam.com> wrote in message
news:bd02e3f4.03040...@posting.google.com...
> Hi everyone,
>
> J2SE 1.4.2 Beta has just been released. Please try it out and let us
> know what you think. The sooner we get bug reports, the sooner we can
> address them.
>
> In particular, you may be interested in:
> - Changes to the Windows look and feel so that it looks like XP when
> run on XP.
> - A new GTK look and feel - skinnable!
>
> http://java.sun.com/j2se/1.4.2/index.html
>
> Shannon
I tried to get it running with GTK2 look and feel.
I am running it on Mandrake 9.1 ( GTK 2.2), when I specify
-Dswing.defaultlaf=\"com.sun.java.swing.plaf.gtk.GTKLookAndFeel,
I get an error that it couldn't load the settings
Exception in thread "main" java.lang.Error: can't load
"com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1091)
at javax.swing.UIManager.initialize(UIManager.java:1181)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1164)
at javax.swing.UIManager.getUI(UIManager.java:775)
at javax.swing.JPanel.updateUI(JPanel.java:105)
at javax.swing.JPanel.<init>(JPanel.java:64)
at javax.swing.JPanel.<init>(JPanel.java:88)
at javax.swing.JPanel.<init>(JPanel.java:96)
at javax.swing.JRootPane.createGlassPane(JRootPane.java:477)
at javax.swing.JRootPane.<init>(JRootPane.java:308)
at javax.swing.JWindow.createRootPane(JWindow.java:233)
at javax.swing.JWindow.windowInit(JWindow.java:224)
at javax.swing.JWindow.<init>(JWindow.java:161)
at javax.swing.JWindow.<init>(JWindow.java:112)
at org.argouml.ui.SplashScreen.<init>(SplashScreen.java:43)
at org.argouml.application.Main.main(Main.java:214)
I even created a link from .gtkrc to .gtkrc-2.0
> -Dswing.defaultlaf=\"com.sun.java.swing.plaf.gtk.GTKLookAndFeel,
Dont use \" (and the , at the end of the line)
I got it to work with RH 9.0
It doesn't work even when I enter the entire command on one line, without
the quotes ( or \ to escape quotes) so thats not the issue.
It appears that it can only parse the gtkrc on redhat which is somehow
redhat specific. Maybe the theme files.