I built the following app;
A frame that with three sections inside it. Each section is actually a panel.
The first panel is a form I use for saving soccer matches on my database;
The second holds only one button that reads textfields from the form above and puts the content on the database table;
The third section/panel holds a JTable that shows the records on my database table matches.
I would like this table to be refreshed upon every time I click the button on the second section, but it is not doing so.
(My button works perfectly fine as far as putting records in the database goes. I also use it to reset to blank text fields in my form.)
I tried frame's update and repaint method, but they ain't worked. I also tried putting all these three panels on a bigger panel, which I then add on the frame, and calling the repaint method on this bigger panel, but that did not work either. Anyone please direct me to get this done.