com.cleancode.swing
Class JLookAndFeel
java.lang.Object
   com.cleancode.swing.JLookAndFeel
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 | VERSIONCurrent 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.
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
VERSION
public static final String VERSION
- Current version of this class.
 
 
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  |