Skip navigation.

Java 1.4.2 beta released

Sun Microsystems
Sun Microsystems

Seems soon was very soon. The Java version we mentioned the other day with support for GTK+ and Window Manager themes
is out in its first beta release. Be sure to get it and get your Java apps to look like they belong in your GNOME desktop. You find it on the JavaSoft
download page.
Update:
Here is en excerpt from the docs on sun.com:
Specifying the Look and Feel: Command Line

You can specify the look and feel at the command line by using the -D flag to set the swing.defaultlaf property. For example:

java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel MyApp

Specifying the Look and Feel: swing.properties

Yet another way to specify the current look and feel is to use the swing.properties file to set the swing.defaultlaf property. This file is located in the lib directory of the Java release. For example, if you're using the Java interpreter in javaHomeDirectoryin, then the swing.properties file (if it exists) is in javaHomeDirectorylib. Here is an example of the contents of a swing.properties file:

# Swing properties

swing.defaultlaf=com.sun.java.swing.plaf.gtk.GtkLookAndFeel

Re: Java 1.4.2 beta released

Something I'm confused about: Doesn't the developer have to specifically set the theme to gtk or at least provide an option to set it? For example, LimeWire for linux uses the crappy metal(?) look and it doesn't have an option to change it. So, only java apps specifically written for GNOME (I can think of none) would blend in to gtk right? And even then, the theme would be fixed right?