// ------------------------------------------------------------------------------ public void addNewTab(String clusterIdAs3DigitString) { tabbedPane.add(createScrolledPdfViewer(clusterIdAs3DigitString), clusterIdAs3DigitString); tabbedPane.setSelectedIndex(tabbedPane.getTabCount() - 1); }