String () { String helpTopic = null; if (myMainPanel instanceof JTabbedPane) { int idx = ((JTabbedPane)myMainPanel).getSelectedIndex(); if (0 <= idx && idx < myConfigurables.size()) { helpTopic = myConfigurables.get(idx).getHelpTopic(); } } else { helpTopic = myConfigurables.get(0).getHelpTopic(); } return helpTopic; }