revalidate(); repaint();
  public void setText(String newText)  {    if (text != newText)      {	String oldText = text;	text = newText;	firePropertyChange("text", oldText, newText);	if (text != null && text.length() <= displayedMnemonicIndex)	  setDisplayedMnemonicIndex(text.length() - 1);      }  }