}
  public void setText(String text)  {    try      {	doc.remove(0, doc.getLength());	doc.insertString(0, text, null);      }    catch (BadLocationException e)      {	// This can never happen.      }  }