FIBS Board backgammon forum

FIBS Client software => JavaFibs => Topic started by: lotsoblots on August 05, 2006, 12:52:12 AM

Title: Gtk Look And Feel Under Jdk 1.6.0?
Post by: lotsoblots on August 05, 2006, 12:52:12 AM
Hello all.  Currently, it looks like the only Look and Feel options that JavaFIBS2001 provides are Metal, CDE, Windows, and Aqua.  Has anyone figured out a way to configure the app to use the built-in GTK Look and Feel under Linux, especially under the 1.6.0 JDK?

Thanks!

--frank
Title: Gtk Look And Feel Under Jdk 1.6.0?
Post by: inim on August 11, 2006, 11:54:39 PM
Supported "Look and Feel" names are hardcoded in javafibs. See
this thread (http://www.fibsboard.com/index.php?showtopic=1094). What is the (technical) name of the L&F you want to be supported?
Title: Gtk Look And Feel Under Jdk 1.6.0?
Post by: lotsoblots on August 12, 2006, 04:13:47 AM
In the latest java 1.6.0 jdk, it's called com.sun.java.swing.plaf.gtk.GTKLookAndFeel ...
Title: Gtk Look And Feel Under Jdk 1.6.0?
Post by: inim on August 13, 2006, 07:16:56 AM
Checked my zoo of JDK versions, seems the GTK look and feel is in Java since 1.4.2 (i.e. 1.4.1 and before did not have it). Easy to verify, just check out the SwingSet2 demo main file in $JAVA_HOME/demo/jfc/SwingSet2/src/SwingSet2.java. So supporting it would benefit all GTK based GUIs, not only 1.6.0.