serdarulutas
asked on
How to open/display JComboBox programmatically..
Hello,
I want to open a JCombox in runtime, if users presses Shift+F1. The necessary coding for key listeners is done. However I dont know how to open the combobox from the code..
Do you know whether it is possible or not?
Thanks for the answers..
I want to open a JCombox in runtime, if users presses Shift+F1. The necessary coding for key listeners is done. However I dont know how to open the combobox from the code..
Do you know whether it is possible or not?
Thanks for the answers..
call showPopup()
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
:-)
Thanks for accepting.
Don't find that CEHJ's comment deserves any points.
Since you said that
>> The necessary coding for key listeners is done
it doesn't do anything more than just repeating what I posted 7 minutes before.
What do you say CEHJ?
Don't find that CEHJ's comment deserves any points.
Since you said that
>> The necessary coding for key listeners is done
it doesn't do anything more than just repeating what I posted 7 minutes before.
What do you say CEHJ?
KeyListener is, if not deprecated, obsolescent. My code shows how to do it with Swing
>> KeyListener is, if not deprecated, obsolescent.
Who says that?
>> My code shows how to do it with Swing
That was not asked
But OK..........
Who says that?
>> My code shows how to do it with Swing
That was not asked
But OK..........
>>Who says that?
KeyListener is AWT legacy - and no - i'm not going to scour the web for supporting quotes ;-)
KeyListener is AWT legacy - and no - i'm not going to scour the web for supporting quotes ;-)