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

be careful: read the license

I suggest you read the license carefully before you download or install that software--it's pretty scary.

Sun's restrictive licenses are also the reason why Java isn't packaged and updated like a lot of other software on Linux.

Sun Java scares me more than Microsoft Windows. At least Microsoft really wants to draw a line in the sand between their own stuff and open source. But Sun tries to pretend they are "open", while at the same time having patents, lawyers, and nasty licenses up the wazoo.

If you must write open source projects in Java, use GNU gcj. Sun Java has no place on open source desktops as far as I'm concerned. Just because Sun is Microsoft's enemy doesn't mean they are a good company.