add(new JButton("right button"), RIGHT);
remove (rightComponent);
  public void setRightComponent(Component comp)  {    if (comp != null)      add(comp, RIGHT);    else	add(new JButton("right button"), RIGHT);  }