• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JTable (Deleting row)

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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