Jlist

How do you add data to a Swing component such as a JTable JTree or JList?
How do you add a JList? Populate the JList with a DefaultListModel, not a vector, and have the model visible in the class. Then simply call addElement...