title: Dynamically change JComboBox
body: <p>I am fetching the data values from the database successfully. I have also stored them into a <code>String[]</code> array. I need to load the String array as the items of the <code>JComboBox</code> in response to key actionperformed. How can I reload the items of the <code>JComboBox</code> whenever a key is pressed as the fetched values depend on the key pressed. Rather simply, I need to dynamically refresh the <code>JComboBox</code> items.</p>