public @Nullable RadComponent getSelectedTab() {
    int index = getTabbedPane().getSelectedIndex();
    return index < 0 ? null : getComponent(index);
  }
public @Nullable RadComponent getSelectedTab()