keybord input
i want to listen for a keybord input(not in textfield), when the user press button on the keybord i want to know what button he pressed.
can anybody help me? show me please an example how to use it in a program.
* i want to do this when it focused on JPanel but this is not he point.
sorry for my bad english.

