code: private static void addPanels(TabbedPanel2 tabbedPanel, List<AbstractPanel> panels, boolean visible) {
  		for (AbstractPanel panel : panels) {
  			addPanel(tabbedPanel, panel, visible);
  		}
  		tabbedPanel.revalidate();
  	}
docs: Adds the given {@code panels} to the given {@code tabbedPanel} and whether they should be visible.
  <p>
  After adding all the panels the tabbed panel is revalidated.
  
  @param tabbedPanel the tabbed panel to add the panels
  @param panels the panels to add
  @param visible {@code true} if the panel should be visible, {@code false} otherwise.
  @see #addPanel(TabbedPanel2, AbstractPanel, boolean)
  @see javax.swing.JComponent#revalidate()