Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable (Deleting row)

 
vikas dhimole
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a table, and I want to delete a row using a button.
I am using TableModelListener to identify the row which user editing and listselection listener for selected row.

when i am deleting a row using a button some exception is coming.That exception is ArrayIndexOutOfBoundsException.


i am not using any model for my table.

What I think problem is because I m using a TableModelListener which will fired whenever i want to delete a row.

please give me suggest to solve this problem,
thanks in advance
[ October 09, 2004: Message edited by: vikas dhimole ]
 
Craig Wood
Ranch Hand
Pie
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

[ October 09, 2004: Message edited by: Craig Wood ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic