Monday, August 8, 2011

In Java, how can I convert a list of Strings into ints, and then give the ints a general variable name?

I have a list of numbers in a JComboBox, like 2, 3, 4, 6, 8, etc., and I want to convert them into integers and THEN ign a general variable name to all the numbers in the comboBox so that I can use the variable name in an algorithm. How???

No comments:

Post a Comment