SyntaxFix
Write A Post
Hire A Developer
Questions
If we use tMOdel.setRowCount(0); we can get Empty table.
tMOdel.setRowCount(0);
DefaultTableModel tMOdel = (DefaultTableModel) jtableName.getModel(); tMOdel.setRowCount(0);