Java Swing and GNOME



Swing components borders renderded incorrectly.

This one is a known jvm bug and is fixed with java 1.6. Following facts
have been gathered from the links below. These links compare the
java/swing's performance on gtk. The comparison is between java 1.5 and
1.6.

 

1. JDK 1.5 has problems with GNOME themes. JDK 1.6 fixes that. This is
the reason why come UI components (Buttons etc) are rendered
incorrectly.

2. JDK 1.5 supports a only few theme engines. Maybe only bluecurve

3. As a solution - the borders for the incorrectly rendered components
would have to be drawn forcefully, in which case the fix would have to
be hard coded for "GTK" and "1.5" and would be an improper fix. And it
would still NOT make the components look like the native components.

4. Suse doesn't seem to support bluecurve theme

 

http://www.ensode.net/java_swing_mustang_screenshots_gtk.html

http://www.ffnn.nl/pages/articles/java/java-2-se-6.0-aesthetics-preview.
php

http://java.sun.com/j2se/1.4.2/docs/guide/swing/1.4/Post1.4.html#gtk

http://today.java.net/pub/a/today/2004/02/27/laf.html

 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]