コード例 #1
0
ファイル: TextArea.java プロジェクト: puppeh/chipmunk
  /**
   * Appends the specified text to the end of the current text.
   *
   * @param text The text to append.
   */
  public void append(String str) {
    TextAreaPeer tap = (TextAreaPeer) getPeer();
    if (tap == null) return;

    tap.insert(str, tap.getText().length());
  }