Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Removing Rows - Need Help

 
Anand Karia
Ranch Hand
Posts: 156
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All

I ve a jTable and button that remove selected rows. JTable consists of 6 columns and number of rows as per data entries.

Now i want to update balance of that particular rows deleted in seperate table.

Kindly suggest what method or function i have to make to update deleted item balance.

Like if i have following rows in jTable.
Material Receipt
001 abc 10qty 250 (Balance uptil now)
002 xyz 25qty 180 ( same above )
003 opq 21qty 75 ( same above )

if i remove 002 and 003 then what should i use. Array, vector or any is there any other method to solve it.

I would appreciate if any of you send me the coding of above.

Thanks in advance.


Anand
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic