Here's an example of an if statement in a JComboBox change listener I wrote that does what you've described. Let me know if you have questions or would like to see the if statement in action. ...
Type: Posts; User: GregBrannon
Here's an example of an if statement in a JComboBox change listener I wrote that does what you've described. Let me know if you have questions or would like to see the if statement in action. ...
That doesn't make sense. Why would the size change independent of the contents? Are you sure that the array values[] contains the desired items?
Can you post a short example that demonstrates...