private void selectTab(String tabName) {
    int idx = 0;
    for (FileTemplateTab tab : myTabs) {
      if (Comparing.strEqual(tab.getTitle(), tabName)) {
        currentTab = tab;
        myTabbedPane.setSelectedIndex(idx);
        return;
      }
      idx++;
    }
  }
private void selectTab(String tabName)