• Post Reply Bookmark Topic Watch Topic
  • New Topic

Deleting JTable Row  RSS feed

 
Rajasekaran Anand
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using fireTableRowsDeleted method for deleting the JTable rows and I am using the AbstractTableModel.I am able to delete
all the rows except first row.
 
Tim Tully
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just a though...
don't forget that the first row is the 0th in the table model...

Originally posted by Rajasekaran Anand:
Hi,
I am using fireTableRowsDeleted method for deleting the JTable rows and I am using the AbstractTableModel.I am able to delete
all the rows except first row.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!