permaculture playing cards*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes How to clear data from JTable? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "How to clear data from JTable?" Watch "How to clear data from JTable?" New topic
Author

How to clear data from JTable?

Samual Harvey
Ranch Hand

Joined: Aug 06, 2002
Posts: 119
Thanks.


Samual Harvey<br />SCJP2<br />SCJD2
Sai Prasad
Ranch Hand

Joined: Feb 25, 2002
Posts: 560
Set the Collection or Object[][] in the TableModel to null
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to clear data from JTable?