@Override public void invalidate() { responseField.layoutManager().setDelegate(null); super.invalidate(); }
public void setResponseField(NSTextView responseField) { this.responseField = responseField; this.responseField.setEditable(false); this.responseField.setSelectable(true); this.responseField.setUsesFontPanel(false); this.responseField.setRichText(false); this.responseField.layoutManager().setDelegate(this.id()); }