I'm working on an inventory system project. There is 'subtotal' label which calculates total amount from JTable 'amount' column in 'mainframe' which I want to be updated when we modify certain row of that table using another frame modifyFrame.
So I want this 'subtotal' to be updated using update button of modifyFrame. How to achieve that?