public void setText2(String text) { contents = text; charBreaker.setText(text); wordBreaker.setText(text); lineBreaker.setText(text); redoLines = true; if (textListener != null) textListener.textValueChanged(new TextEvent(this, TextEvent.TEXT_VALUE_CHANGED)); repaint(16); }
public void textValueChanged(TextEvent e) { ((TextListener) a).textValueChanged(e); ((TextListener) b).textValueChanged(e); }