|
-
March 14th, 1999, 01:12 PM
#1
JTable and different TableModels
I have a JTable and 2 different TableModels that are views on different sets
of data.
Is there a simple way for the JTable to switch between the two models (and
for the table to update/redraw itself when it changes)?
I have tried using the setModel() method of JTable but that always gives
me null pointer exceptions.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|