Example usage for com.jgoodies.looks LookUtils getSystemProperty

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

Introduction

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

Prototype

public static String getSystemProperty(String key, String defaultValue) 

Source Link

Document

Tries to look up the System property for the given key.

Usage

From source file:FontTest.java

License:Open Source License

private void addSystemProperties(StringBuffer buffer, String description, String[] keys) {
    buffer.append("\n\n");
    buffer.append(description);/*w  w  w  . ja va2 s . com*/
    for (int i = 0; i < keys.length; i++) {
        String key = keys[i];
        String value = LookUtils.getSystemProperty(key, "n/a");
        buffer.append("\n    ");
        buffer.append(key);
        buffer.append('=');
        buffer.append(value);
    }
}