Method Summary |
|
public static Insets | createButtonMargin(boolean narrow) Creates and answers the margin used by JButton
and JToggleButton . |
public static Color | getSlightlyBrighter(Color color) Computes and answers a Color that is slightly brighter
than the specified Color . |
public static Color | getSlightlyBrighter(Color color, float factor) Computes and answers a Color that is slightly brighter
than the specified Color . |
public static String | getSystemProperty(String key) Tries to look up the System property for the given key.
In untrusted environments this may throw a SecurityException.
In this case, we catch the exception and answer an empty string. |
public static String | getSystemProperty(String key, String defaultValue) Tries to look up the System property for the given key.
In untrusted environments this may throw a SecurityException.
In this case, we catch the exception and answer an empty string. |
public static void | installNarrowMargin(AbstractButton b, String propertyPrefix) Installs a narrow margin, if property isNarrow has been set. |
public static boolean | isClassicWindows() Checks and answers if we are on Windows 95 or NT. |
public static boolean | isModernWindows() Checks and answers if we are on Windows 98/ME/2000/XP. |
public static boolean | isTrueColor(Component c) Checks and answers whether we have a true color system. |
public static boolean | isWindows() Checks and answers whether we're on Windows. |
public static boolean | isWindowsXP() Checks and answers if we are on Windows XP. |
public static void | log() Prints a new line to the console if logging is enabled. |
public static void | log(String message) Prints the given message to the console if logging is enabled. |
public static void | setLoggingEnabled(boolean enabled) Enables or disables the logging. |