aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes heavy addRow problems in a jtable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "heavy addRow problems in a jtable" Watch "heavy addRow problems in a jtable" New topic
Author

heavy addRow problems in a jtable

Steffen Durale
Greenhorn

Joined: May 25, 2001
Posts: 13
hi there,
i have a jtable with an abstracttablemodel in a jscrollpane which is in a jpanel which is in jframe...
now my problem is, that if i add data, it is correct in the vectors but the data will not shown correct in the rows...
if i insert as many rows that the scroll bar appears the data will be show correct but only than
i tried to repaint the jscrollpane and the jpanel but nothing happens...
can anybody out there help me, because its horrible and very urgent for me to do this...
regards and thanx in advance
Steffen
Swamy Vatti
Ranch Hand

Joined: May 02, 2001
Posts: 57
try
table.revalidate()
or
scrollpane.doLayout


Swamy
Steffen Durale
Greenhorn

Joined: May 25, 2001
Posts: 13
i tried this and its the same like before...
sorry... it seems like the textfields in the columns are not updated...
thanx anyway!
Steffen
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: heavy addRow problems in a jtable