public void removeRegisterItem(int row) {
        try {
            Tools.delete(con, getRegisterItem(row));
            registerItemList.remove(row);
            //Fire table row deletion notification to table.
            fireTableRowsDeleted(row, row);
            
        } catch (SQLException ex) {
            ex.printStackTrace();
        }
        
    }