posted 18 years ago
I wrote a method that in theory returns a TreeSet full of film titles. It was tested within its own calss and works. When I use the same method in my other class as you see at the bottom where set is TreeSet, I did the tests to print out the contents, and there is nothing. The variable method parameter comes from the main class and is a selection in a JComboBox.