That's too small and it doesn't begin to show the problem. There needs to be a frame with a combobox with a list of items and a listener for the combobox.
How much of the code in post#5 did you...
Type: Posts; User: Norm
That's too small and it doesn't begin to show the problem. There needs to be a frame with a combobox with a list of items and a listener for the combobox.
How much of the code in post#5 did you...
Please make a small simple program that compiles, executes and shows the problem. Something that is easy to test.
What methods does the JComboBox have that will help you get the data you want?...
No. I'd like a smaller sample program that works om just the one problem:
String representation of the selected item to the ArrayList
That's not a small program that shows the problem. It has too much stuff in it that is not part of the problem and just gets in the way of solving the problem with getting items from a list.
For...
Do you have a small, complete program that compiles, executes and shows the problem? It's hard to make suggestions without code that executes for testing.
Be sure to wrap your code with code...
What have you tried?
Do you have any specific questions about your problem?