code: public void setTabsVisible(String[] tabLabels, boolean visible) {
      	if (visible) {
  			for (String label : tabLabels) {
  				String name = Constant.messages.getString(label);
  				JPanel tabPanel = this.tabNameMap.get(label);
  				tabbedPane.addTab(name, getTabComponent(tabPanel));
  			}
      	} else {
  			for (String label : tabLabels) {
  				JPanel tabPanel = this.tabNameMap.get(label);
  				this.tabbedPane.remove(getTabComponent(tabPanel));
  			}
      	}
  	}
docs: Set the visibility of the specified tabs.
  The labels must have been used to create the tabs in the constructor
  @param tabLabels the names of the tabs
  @param visible {@code true} if the tabs should be visible, {@code false} otherwise