code: public String getActiveTabName() {
  
          if (m_activeTab < 0) {
              getActiveTab();
          }
          List<String> tabNames = getTabs();
          try {
              return tabNames.get(m_activeTab - 1);
          } catch (IndexOutOfBoundsException e) {
              // should usually never happen
              if (LOG.isInfoEnabled()) {
                  LOG.info(e.getLocalizedMessage());
              }
              return null;
          }
      }
docs: Returns the localized name of the currently active tab.<p>
  
  @return the localized name of the currently active tab or null if no tab name was found