Example usage for java.awt Toolkit getMenuShortcutKeyMask

List of usage examples for java.awt Toolkit getMenuShortcutKeyMask

Introduction

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

Prototype

@Deprecated(since = "10")
public int getMenuShortcutKeyMask() throws HeadlessException 

Source Link

Document

Determines which modifier key is the appropriate accelerator key for menu shortcuts.

Usage

From source file:MainClass.java

public static void main(String[] args) {
    Toolkit tk = Toolkit.getDefaultToolkit();
    System.out.println("Menu shortcut key mask = " + tk.getMenuShortcutKeyMask());

}