public class LookAndFeel extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_FILE
The name of the properties file
|
| Constructor and Description |
|---|
LookAndFeel() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
getInstalledLookAndFeels()
returns an array with the classnames of all the installed LnFs
|
static String |
getSystemLookAndFeel()
returns the system LnF classname
|
static void |
main(String[] args)
prints all the available LnFs to stdout
|
static boolean |
setLookAndFeel()
sets the look and feel to the one in the props-file or if not set the
default one of the system
|
static boolean |
setLookAndFeel(String classname)
sets the look and feel to the specified class
|
public static String PROPERTY_FILE
public static boolean setLookAndFeel(String classname)
classname - the look and feel to usepublic static boolean setLookAndFeel()
public static String getSystemLookAndFeel()
public static String[] getInstalledLookAndFeels()
public static void main(String[] args)
args - the commandline optionsCopyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.