public class LookAndFeel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_FILE
The name of the properties file
|
Constructor and Description |
---|
LookAndFeel() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
getInstalledLookAndFeels()
returns an array with the classnames of all the installed LnFs
|
static java.lang.String |
getSystemLookAndFeel()
returns the system LnF classname
|
static void |
main(java.lang.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(java.lang.String classname)
sets the look and feel to the specified class
|
public static java.lang.String PROPERTY_FILE
public static boolean setLookAndFeel(java.lang.String classname)
classname
- the look and feel to usepublic static boolean setLookAndFeel()
public static java.lang.String getSystemLookAndFeel()
public static java.lang.String[] getInstalledLookAndFeels()
public static void main(java.lang.String[] args)
args
- the commandline options