JTable question
Hello. I have a program with a JList with a bunch of database tables on it in. For each different table selected on the list, a table with the field data is supposed to appear in the tabbed pane.
Itshould change the pane to reflect which one is currently selected on the list but in mine, it doesn't. It just keeps the first table selected and its data in the tables. When I click a different item on the list, it doesnt change.
What I wanted to know is if there is some sort of code that could refresh the tab pane or table to make this happen? I have tried a lot of stuff but may not be looking in the right place. I could post code if need be.
Thanks.

