|
-
February 28th, 2000, 11:09 AM
#1
JTable Not Updating, please help
Hi, I am using a JTable, with two vectors, I am not using TableModel,
just using JTable table = new Jtable(Vector data, Vector column),but now when
I apdate, the new rows are added, this is not what I want, I want only the new data show in the table.
final JTable jt = new JTable(data,headers);
JScrollPane jsp = new JScrollPane(jt);
getContentPane().add(BorderLayout.NORTH,jsp);
getContentPane().add(BorderLayout.SOUTH,panel);
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
|