• 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

Removing Rows - Need Help

 
Ranch Hand
Posts: 158
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic