void (String tabName) { List<Pair<String,SettingsEditor<T>>> editors = myGroup.getEditors(); if (myComponent != null && editors.size() > 1) { for (int i = 0; i < editors.size(); i++) { Pair<String, SettingsEditor<T>> pair = editors.get(i); if (StringUtil.equals(tabName, pair.getFirst())) { ((JTabbedPane)myComponent).setSelectedIndex(i); return; } } } }