so my program works like this you select an option from 1 combo box that determines what goes in a second combo box..this works nicely but each selection adds from 25-35 items each in to the second combo box for a total of around 100+ items
each option from the second combo box sets a different number to an integer and each choice has a different number so my question is
is there a better way to set the integer for each of these than to write 100+ if statements? i looked at the jcombobox api and didnt see anything that could help me...or maybe the only way is to write a bunch of if statements? any ideas on how i could do this without having a 2mb file of if statements? lol