code: protected void setTabScrollable(String tabLabel, boolean scrollable) {
  		JPanel tabPanel = this.tabNameMap.get(tabLabel);
  		if (tabPanel == null) {
  			return;
  		}
  
  		if (scrollable) {
  			if (isTabScrollable(tabPanel)) {
  				return;
  			}
  
  			String title = Constant.messages.getString(tabLabel);
  			int tabIndex = tabbedPane.indexOfTab(title);
  			boolean selected = tabbedPane.getSelectedIndex() == tabIndex;
  
  			JScrollPane scrollPane = createTabScrollable(tabLabel, tabPanel);
  			if (scrollPane == null) {
  				return;
  			}
  			panelToScrollPaneMap.put(tabPanel, scrollPane);
  
  			if (tabIndex == -1) {
  				return;
  			}
  
  			tabbedPane.insertTab(title, null, scrollPane, null, tabIndex);
  			if (selected) {
  				tabbedPane.setSelectedIndex(tabIndex);
  			}
  			return;
  		}
  
  		if (!isTabScrollable(tabPanel)) {
  			return;
  		}
  
  		String title = Constant.messages.getString(tabLabel);
  		int tabIndex = tabbedPane.indexOfTab(title);
  		tabbedPane.insertTab(title, null, tabPanel, null, tabIndex);
  		tabbedPane.removeTabAt(tabIndex + 1);
  		panelToScrollPaneMap.remove(tabPanel);
  	}
docs: Sets whether or not the tab with given label should be scrollable (that is, added to a {@link JScrollPane}).
  <p>
  <strong>Note:</strong> The scrollable state of the tabs should be changed only to non-custom panels, or to custom panels,
  set through {@link #setCustomTabPanel(int, JComponent)}, if they are not already scrollable (otherwise it might happen
  that the contents of the panel have two scroll bars).
  
  @param tabLabel the label of the tab, as set during construction of the dialogue.
  @param scrollable {@code true} if the tab should be scrollable, {@code false} otherwise.
  @since 2.7.0
  @see #createTabScrollable(String, JPanel)
  @see #isTabScrollable(String)