TraversListener
org.eclipse.swt.widgets.Button
Button myButton = new Button(composite, "Klick mich", SWT.PUSH); // composite = parent button.addTraverseListener(new TraverseListener() { @Override public void keyTraversed(TraverseEvent e) { System.out.println("Pressed key: " + e.keyCode); } });
Stichworte:
KeyListener