docs: public void setTabLocked(AbstractPanel panel, boolean lock) {
          for (int i = 0; i < this.getTabCount(); i++) {
          	Component tabCom = this.getTabComponentAt(i);
          	if (tabCom != null && tabCom instanceof TabbedPanelTab && tabCom.isVisible()) {
          		TabbedPanelTab jp = (TabbedPanelTab) tabCom;
          		if (panel.equals(jp.getAbstractPanel())) {
              		jp.setLocked(!lock);
          		}
          	}
          }
  	}