September 28th, 1999, 02:46 PM
I have a JComboBox and am having problems adding KeyListeners to it. I
know about the compound component and
have tried adding it to the following:
1. The JComboBox itself.
2. The JComboBox button
3. The JComboBox CellRendererPane
4. The JComboBox editor component
None of these seem to work. When I set the keylistener for the editor
component I get some key events but not the
tabs. I am aware of
overriding isManagingFocus for the JComboBox but the editor component
doesn't seem to have this method to
override.
I really need to have this work if anyone has any info that would help
me, please let me know.
Lance
know about the compound component and
have tried adding it to the following:
1. The JComboBox itself.
2. The JComboBox button
3. The JComboBox CellRendererPane
4. The JComboBox editor component
None of these seem to work. When I set the keylistener for the editor
component I get some key events but not the
tabs. I am aware of
overriding isManagingFocus for the JComboBox but the editor component
doesn't seem to have this method to
override.
I really need to have this work if anyone has any info that would help
me, please let me know.
Lance