I am trying to learn java form a book, making very simple programs to see how it works. I am trying to use one combobox to fill in the other 5 with differant values. I use an action listener (works) to fill in one. I tried an array to store the combobox names so i could use a for loop, but the .addItem does not seem to work with a variable. I could be doing it all wrong.
What is the best way to do this?