public void addRegisterItem(RegisterItem ri) {
        int index = registerItemList.indexOf(ri);
        if (index == -1) { //Only add if item is not in register
            registerItemList.add(ri);
            //Fire table row insertion notification to table.
            fireTableRowsInserted(getRowCount()-1, getRowCount()-1);
        }
    }