I have a code that updates the JTable only after the program is restarted, but how do I refresh the JTable without exiting the program? That must happen when I upload a file containing some data.
That's the method that creates a table model:
I want that to happen when I click on the upload file button.
I guess there is something to do with the model?