public void updateInventory() {
    int       index;
    InventoryItemObject inventoryItemObject;

    for ( index = 0; index < Data.XML_ITEMS; index++ ) {

      if ( index < _inventoryItemList.size() ) {
        inventoryItemObject = _inventoryItemList.get( index );
      } // if
      else {
        inventoryItemObject = InventoryObjectDAO.createEmptyInventoryItemObject();
      } // else

      if ( index < Data.INVEN_SLOTS ) {
        inventoryItemObject = updateFromPanel( index, panelInven,  inventoryItemObject );
      } // if
      else if ( index < Data.COIN_SLOTS ) {
        inventoryItemObject = updateFromPanel( index, panelCoin,   inventoryItemObject );
      } // if
      else if ( index < Data.ARMOR_SLOTS ) {
        inventoryItemObject = updateFromPanel( index, panelArmor,  inventoryItemObject );
      } // if
      else if ( index < Data.ACCESS_SLOTS ) {
        inventoryItemObject = updateFromPanel( index, panelAccess, inventoryItemObject );
      } // if

      if ( index < _inventoryItemList.size() ) {
        _inventoryItemList.set( index, inventoryItemObject );
      } // if
      else {
        _inventoryItemList.add( index, inventoryItemObject );
      } // else

    } // for

  } // updateInventory ---------------------------------------------------------