Usage of setRowCount(0) in DefaultTableModel
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Binay_Warrier
Posted On:   Tuesday, April 12, 2005 12:12 AM

I'm new to swing so apologies if this seems silly.

Is it correct to use setRowCount(0) to clear data from the table model instead of looping through and calling removeRow() for all the rows?

Is using setRowCount(0) in this way safe?

About | Sitemap | Contact