DYNAMICALLY CHANGE JCOMBOBOX

Posted by Suman.hassan95 on Stack Overflow See other posts from Stack Overflow or by Suman.hassan95
Published on 2011-01-06T21:51:44Z Indexed on 2011/01/06 21:54 UTC
Read the original article Hit count: 250

Filed under:
|

i am fetching the data values from the database success fully. I have also stored them into a String array. I need to load the String array as the items of the ComboBox in response to key actionperformed . How can i reload the items of the ComboBox whenever a key is pressed as the fetched values depend on the key pressed. Rather simply, i need to dynamically refresh the ComboBox items. please help.

© Stack Overflow or respective owner

Related posts about java

Related posts about swing