NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Jekutin
Joined: 05 May 2012 Posts: 13
|
Posted: Sat May 19, 2012 11:30 am Post subject: Combobox events |
|
|
I have been trying to make an accounting program, but got any further from the very beginning. I need a combobox which has a drop down list with 2 columns, and it opens when the user starts to write to the combobox text field. It should also have a incremental search feature. This kind of combobox seems to be almost impossible to find, so I decided to make my own. The problem now is, that I cannot get event from the text field, when the user starts to type. I have tried several different approaches. Last was an idea to use combobox in Netbeans palette and then copy the code. Unfortunately this does not work. None of the *key* actions seem to be fired. Only ActionPerformed works, but that is not the one I can use. I have tested with editable and not editable combo boxes.
My question is now, does these *key* events fire and if yes, how to use them. If not, should they be taken away from the events list. |
|
| Back to top |
|
 |
bolsover
Joined: 24 Jun 2010 Posts: 185
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|