Modifier and Type | Field and Description |
---|---|
private static boolean |
osIsLinux |
private static boolean |
osIsMacOsX |
private static boolean |
osIsWindows |
private static boolean |
osIsWindows2003 |
private static boolean |
osIsWindowsVista |
private static boolean |
osIsWindowsXP |
Constructor and Description |
---|
OS() |
Modifier and Type | Method and Description |
---|---|
static 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() |
private static final boolean osIsMacOsX
private static final boolean osIsWindows
private static final boolean osIsWindowsXP
private static final boolean osIsWindows2003
private static final boolean osIsWindowsVista
private static final boolean osIsLinux
public OS()
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 String getWindowsVisualStyle()
Toolkit.getDesktopProperty(java.lang.String)
)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses