com.cleancode.swing
Class JLookAndFeel

java.lang.Object
  extended by com.cleancode.swing.JLookAndFeel

public class JLookAndFeel
extends Object

Sets the user interface to a particular look-and-feel. (Adapted from Sun's UI tutorial.)

Since:
CleanCode 0.9
Version:
$Revision: 9 $
Author:
Michael Sorens

Field Summary
static String VERSION
          Current version of this class.
 
Constructor Summary
JLookAndFeel()
          Establishes 'Metal' as the default look-and-feel.
JLookAndFeel(String choice)
          Attempts to establish the specified look-and-feel.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static final String VERSION
Current version of this class.

Constructor Detail

JLookAndFeel

public JLookAndFeel()
Establishes 'Metal' as the default look-and-feel.


JLookAndFeel

public JLookAndFeel(String choice)
Attempts to establish the specified look-and-feel.

Parameters:
choice - name of the look-and-feel to set (one of "Metal", "System", "Mac", "Windows", or "Motif")


CleanCode Java Libraries Copyright © 2001-2012 Michael Sorens - Revised 2012.12.10 Get CleanCode at SourceForge.net. Fast, secure and Free Open Source software downloads