I want to delete all the rows of DefaultTable.I found two common ways to delete them on internet but none of them works in my case because those methods does not exist in my
Have you tried this This works for me..
defaultTableModel.setRowCount(0);