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

> Then the GTK L&F will be use by default.

it's important to emphasize this (for users not familiar with java). by using this method, you can only specify the default l&f. if an application is coded to use a specific l&f, it will use that, no matter the default.

so this doesn't guarantee you will get all java applications using this l&f, but rather only those that don't hardcode the use of a specific (different) l&f.