@Override
  public Component getSelectedComponent() {
    TabInfo selected = tabs.getSelectedInfo();
    return selected == null ? null : selected.getComponent();
  }
@Override
  public Component getSelectedComponent()