S
Sue
I have the following code,
and always get the error exception
java.lang.ArrayIndexOutOfBoundsException
try{
jComboBox1.removeAllItems();
}
catch (Exception ex){
System.out.println("exception " + ex);
}
The value for selectedIndex for this combo box seems to default to -1
even though I change it to zero -- could this be the problem?
Thank you very much.
and always get the error exception
java.lang.ArrayIndexOutOfBoundsException
try{
jComboBox1.removeAllItems();
}
catch (Exception ex){
System.out.println("exception " + ex);
}
The value for selectedIndex for this combo box seems to default to -1
even though I change it to zero -- could this be the problem?
Thank you very much.