TextAreaPeer peer = (TextAreaPeer) getPeer (); if (peer == null) return;  peer.insert (str, peer.getText().length ());
appendText (str);
  public void append (String str)  {    TextAreaPeer peer = (TextAreaPeer) getPeer ();    if (peer == null)      return;    peer.insert (str, peer.getText().length ());  }