remove(component); this.component = c; add(c);
int i = indexOfComponent(component); insertTab(title, icon, c, tip, i); component = c; removeTabAt(i);
    public void setComponent(Component c)    {      remove(component);      this.component = c;      add(c);    }