updating JTable in another frame after editing the data
Please help me how to fix my code
I have a frame, with a JTable on it, displaying a list of employees.
I have a button to add and edit a selected employee on the list.
WHen I click the Edit or Add buttons,edit the employee or add a new one, after clicking the Save button and going back to the previous JFrame with a JTAble, the data is not updated.
What method can I use to update the data in the list?
I have a database, the data are fetched from the DB.
Please help, thanks! :)