use of com.sun.identity.diagnostic.base.core.ui.gui.table.TestsTableModel in project OpenAM by OpenRock.
the class TableJPanel method clearAll.
public void clearAll() {
testsjTable.setEnabled(false);
TestsTableModel model = (TestsTableModel) testsjTable.getModel();
model.removeAll();
Document doc = messagejEditorPane.getDocument();
try {
doc.remove(0, doc.getLength());
} catch (Exception ex) {
//ex.printStackTrace();
System.out.println("Exception in TableJPanel :" + ex.getMessage());
}
testsjTable.setEnabled(true);
}
Aggregations