Example usage for com.jgoodies.looks LookUtils IS_OS_WINDOWS_MODERN

List of usage examples for com.jgoodies.looks LookUtils IS_OS_WINDOWS_MODERN

Introduction

In this page you can find the example usage for com.jgoodies.looks LookUtils IS_OS_WINDOWS_MODERN.

Prototype

boolean IS_OS_WINDOWS_MODERN

To view the source code for com.jgoodies.looks LookUtils IS_OS_WINDOWS_MODERN.

Click Source Link

Document

True if this is Windows 98/ME/2000/Server 2003/XP/VISTA/Server 2008.

Usage

From source file:FontTest.java

License:Open Source License

private void addWindowsSettings(StringBuffer buffer, String description) {
    buffer.append("\n\n");
    buffer.append(description);/*w ww.  j ava  2 s  . co  m*/
    buffer.append("\n    Modern Windows=");
    buffer.append(LookUtils.IS_OS_WINDOWS_MODERN);
    buffer.append("\n    Windows XP=");
    buffer.append(LookUtils.IS_OS_WINDOWS_XP);
    buffer.append("\n    Windows Vista=");
    buffer.append(LookUtils.IS_OS_WINDOWS_VISTA);
    buffer.append("\n    Windows L&f XP Mode=");
    buffer.append(LookUtils.IS_LAF_WINDOWS_XP_ENABLED);
}

From source file:loci.visbio.overlays.SpreadsheetLauncher.java

License:Open Source License

/** Whether the OS is windows. */
protected static boolean isWindows() {
    return LookUtils.IS_OS_WINDOWS_MODERN;
}