I have some problems with the keypressed event in a JComboBox. When the JCombobox has the the keyboardfocus and I press the enter a procedure should be triggered. Problem is that nothing happens. When I did some tests to retrieve the keycode of the enter button and some other buttons, nothing happend either.