JEphem site
jephem API
Build classes

tig.swing
Class SwingUtils

java.lang.Object
  |
  +--tig.swing.SwingUtils

public abstract class SwingUtils
extends java.lang.Object

Class containing useful static methods and constants for Swing development.


Field Summary
static int LAF_KUNSTSTOFF
          Constant to designate the Kunststoff look and feel (coming from http://www.incors.org/).
static int LAF_MACINTOSH
          Constant to designate the Macintosh look and feel.
static int LAF_METAL
          Constant to designate the Metal (cross platform) look and feel.
static int LAF_MOTIF
          Constant to designate the Motif look and feel.
static int LAF_SYSTEM
          Constant to designate the default look and feel of the system.
static int LAF_WINDOWS
          Constant to designate the Windows look and feel.
 
Constructor Summary
SwingUtils()
           
 
Method Summary
static void setLookAndFeel(int laf)
          Sets the look and feel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LAF_SYSTEM

public static final int LAF_SYSTEM
Constant to designate the default look and feel of the system.

See Also:
Constant Field Values

LAF_KUNSTSTOFF

public static final int LAF_KUNSTSTOFF
Constant to designate the Kunststoff look and feel (coming from http://www.incors.org/).

See Also:
Constant Field Values

LAF_MACINTOSH

public static final int LAF_MACINTOSH
Constant to designate the Macintosh look and feel.

See Also:
Constant Field Values

LAF_METAL

public static final int LAF_METAL
Constant to designate the Metal (cross platform) look and feel.

See Also:
Constant Field Values

LAF_MOTIF

public static final int LAF_MOTIF
Constant to designate the Motif look and feel.

See Also:
Constant Field Values

LAF_WINDOWS

public static final int LAF_WINDOWS
Constant to designate the Windows look and feel.

See Also:
Constant Field Values
Constructor Detail

SwingUtils

public SwingUtils()
Method Detail

setLookAndFeel

public static void setLookAndFeel(int laf)
                           throws java.lang.Exception
Sets the look and feel.

Parameters:
laf - The desired look and feel, using LAF_XXX constants of this class.
Throws:
java.lang.Exception - If not possible

JEphem site
jephem API
Build classes