mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-19 19:59:37 +00:00
Small change to maybe fix a derp in Swing and Java 8
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user