public abstract class LFUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT
Default look & feel name
|
static String |
LOOK_AND_FEEL
Key for Options
|
static String |
METAL
Metal look & feel name
|
static String |
MOTIF
Motif look & feel name
|
static String |
SYSTEM
System look & feel name
|
static String[] |
VALUES |
static String |
WINDOWS
Windows look & feel name
|
Constructor and Description |
---|
LFUtil() |
Modifier and Type | Method and Description |
---|---|
static Color |
getColor(String key,
Color defaultValue) |
static Font |
getFont(String key,
Font defaultValue) |
static Color |
getSysColor(String key,
Color defaultValue) |
static void |
setLookAndFeel(String friendlyName,
Component rootComponent)
Sets the app look & feel
|
public static final String LOOK_AND_FEEL
public static final String DEFAULT
public static final String SYSTEM
public static final String METAL
public static final String MOTIF
public static final String WINDOWS
public static final String[] VALUES
Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.