public void renInven() {
    int    index;
    String oldName, newName;
    InventoryListObject inventoryListObject;

    if ( tpContent.getTabCount() > 0 ) {

      index   = tpContent.getSelectedIndex();
      oldName = tpContent.getTitleAt( index );

      newName = JOptionPane.showInputDialog( Data.getView(), "New Inventory Panel Name", oldName );
      if ( newName != null && newName.length() > 0 && !newName.equals( oldName ) ) {

        inventoryListObject = InventoryObjectDAO.getInventoryListObject( oldName );
        if ( inventoryListObject != null ) {
          inventoryListObject.setListName( newName );
        } // if
        tpContent.setTitleAt( tpContent.getSelectedIndex(), newName );
        Data.setInventoryDirty();
        checkEnableControls();

      } // if

    } // if

  } // renInven ----------------------------------------------------------------