Reworked all the panels to have a much simpler Table constructor which does all the basic initialisation

and takes 2 to 4 arguments (Headers, types, align and editable).
Fixed the guava derp when reregistering a CachedString.
This commit is contained in:
ProfMobius committed 2014-04-14 17:56:33 +02:00
1 parent 926c633a0b
commit 85f274e387
19 files changed
+159 -443

No files matched your search

@@ -64,7 +64,12 @@ public enum StringCache implements IMessageHandler {
case STATUS_STRINGUPD:{
//modOpis.log.info("Received String Cache update");
DataStringUpdate data = (DataStringUpdate)rawdata.value;
this.cache.put(data.index, data.str);
try{
this.cache.put(data.index, data.str);
} catch (IllegalArgumentException e){
this.cache.remove(data.index);
this.cache.put(data.index, data.str);
}
break;
}
case STATUS_STRINGUPD_FULL:{