I know this is kind of a beginners question but my books aren't explaining it and the API isn't helping much when I don't understand it. Someone please help me to get this.
I created a JList using NetBeans and everything is set to whatever NetBeans has as a default for JLists.
My goal is to make a JList show a List of [x] if a user picks "blah" out of a JComboBox.
I've gotten to use an ActionListener on the JComboBox but I'm not quite sure on how to add or remove items from a JList, so my question is:
In simple terms, how would I go about coding a way to add and remove from a JList?
Help is appreciated. Thanks :)
![jList1 [JList] - model](http://img707.imageshack.us/img707/38/sojlistmodelnetbeans.png)