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

i've tried it using both just the jre and the j2sdk with jedit 4.1 and the application simply fails to load. this happened using the swing.properties and the command line option.

if i remove the lookandfeel pluging for jedit, the app loads but with the standard gui style.

it would be neat if stuff just worked....then i would be merry