public class OS
extends java.lang.Object
Constructor and Description |
---|
OS() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getWindowsVisualStyle()
Returns the name of the current Windows visual style.
|
static boolean |
isLinux() |
static boolean |
isMacOSX() |
static boolean |
isUsingWindowsVisualStyles() |
static boolean |
isWindows() |
static boolean |
isWindows2003() |
static boolean |
isWindowsVista() |
static boolean |
isWindowsXP() |
public static boolean isMacOSX()
public static boolean isWindows()
public static boolean isWindowsXP()
public static boolean isWindows2003()
public static boolean isWindowsVista()
public static boolean isLinux()
public static boolean isUsingWindowsVisualStyles()
public static java.lang.String getWindowsVisualStyle()
Toolkit.getDesktopProperty(java.lang.String)
)