I think you maight have to perform the following
JTextField jtf =
(JTextField)combobox.getEditor().getEditorComponent();
and then add the listeners to it.
--- Preeti Pujni <[EMAIL PROTECTED]> wrote:
> Hi ,
>
> I have a Editable Combo Box with an action listenser added to it.
> I want the event to fire only on Enter key but that does not
> happen.
> I have added the KeyListener also but it does not work.
>
> Can u tell me how can i do that ?
>
> Preeti
>
>
> _______________________________________________
> Advanced-swing mailing list
> [EMAIL PROTECTED]
> http://eos.dk/mailman/listinfo/advanced-swing
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing