Small change to maybe fix a derp in Swing and Java 8

This commit is contained in:
ProfMobius committed 2014-10-01 19:50:56 +02:00
1 parent b39f305687
commit 256643d671
2 files changed
+4 -2

No files matched your search

@@ -108,7 +108,9 @@ public class JTableStats extends JTable {
public <U> int clearTable(Class<U> datatype){
int row = this.getSelectedRow();
this.getModel().setRowCount(0);
try{
this.getModel().setRowCount(0);
} catch (NullPointerException e){}
return row;
}