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.

[688 byte] By [untamed316a] at [2007-11-26 16:37:59]
# 1
Swing questions should be posted in the Swing forum. You will get a better answer there.
CaptainMorgan08a at 2007-7-8 23:04:42 > top of Java-index,Java Essentials,Java Programming...