JXTable not refreshed upon button click
I have a JFrame which holds a JXTable (from SwingX dependency) and a JButton . Once I click the JButton the table should get updated each time. In my case it gets updated only at the first time. Other events also get triggered on the button click (which happens each time I click the button). Only the table is not refreshed with the new rows added. I am using DeafultTableModel and have tried (explicit trigger) all suggested methods like repaint , fireTableDataChanged etc. Can someone please help? EDIT-1 (code snippet added): - // the actions will take place when VALIDATE button is clicked