Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes Removing Rows - Need Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Removing Rows - Need Help" Watch "Removing Rows - Need Help" New topic
Author

Removing Rows - Need Help

Anand Karia
Ranch Hand

Joined: Sep 25, 2004
Posts: 156

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


Love is GOD and GOD is Love.
Anand Karia
IT Concretor.......
M/s. Anand Karia Concreting IT
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Removing Rows - Need Help
 
Similar Threads
Regarding JTable Sorting
JTable & Edit Button Click
JTable
Is there a way to get an absolute row id for a JTable model
JTable Problem...