FLP
FLP

Reputation: 2047

Java KeyEvent.VK_??? Whats this key?

enter image description here

I just can't find the name of it.

Upvotes: 3

Views: 6252

Answers (2)

Officer Bacon
Officer Bacon

Reputation: 734

Just implement a key listener with something like

public void keyPressed(KeyEvent e) {
    System.out.println("Key pressed: " + e.getKeyCode()); 
}

and then it displays the Keycode of the key.

Upvotes: 3

BarrySW19
BarrySW19

Reputation: 3819

Probably this one (from the KeyEvent.java code):

/**
 * Constant for the Microsoft Windows Context Menu key.
 * @since 1.5
 */
public static final int VK_CONTEXT_MENU             = 0x020D;

Upvotes: 1

Related Questions