I have a editable JComboBox, which the end-user can select an item from a list or enter an item in manually. The problem is that I need to do checks on the characters that the user enters and only allow specfic character to be entered. Therefore I need to implement so sort of Key Listener to the JComboBox.
I have tried adding a KeyListener and KeyAdaptor to the JComboBox, but it doesn't seem to be capturing the key events.
I am using JBuilder3 and JDK 1.3.1 by the way.
Thanks in advance!