This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
As you can probably see... i'm having a problem with Choice. I have an arraylist already set up basically of items in a specific room and different items in another item. How can I put that into a choice.add(itemArrayList);? I thought I had my code right but apparently it couldn't be read. Does anybody know of a tutorial I can refer to for adding ArrayLists to a Choice?
What is a Choice? An AWT component, antecedant to the JComboBox. Does anybody know of a tutorial I can refer to for adding ArrayLists to a Choice? Your best bet is to check the api. It has an add method that takes a String argument. Without generics, you might populate your Choice like this: