Example usage for java.awt Toolkit getProperty

List of usage examples for java.awt Toolkit getProperty

Introduction

In this page you can find the example usage for java.awt Toolkit getProperty.

Prototype

public static String getProperty(String key, String defaultValue) 

Source Link

Document

Gets a property with the specified key and default.

Usage

From source file:MainClass.java

public static void main(String[] args) {
    Toolkit tk = Toolkit.getDefaultToolkit();
    System.out.println("AWT.control = " + tk.getProperty("AWT.control", ""));

}