repaint();
  public void setView(Component v)  {    while (getComponentCount() > 0)      {        if (viewListener != null)          getView().removeComponentListener(viewListener);        //remove(0);      }    if (v != null)      {        if (viewListener == null)          viewListener = createViewListener();        v.addComponentListener(viewListener);    add(v);    fireStateChanged();  }    revalidate();  }