private void progress(String p) { synchronized (ui) { if (progress != null) progress = null; if (p != null) progress = textfs.render(p, java.awt.Color.WHITE); } }
private void error(String error) { synchronized (ui) { if (this.error != null) this.error = null; if (error != null) this.error = textf.render(error, java.awt.Color.RED); } }