public Transition modifyTransition(Transition transition, TableModel model) 
    {
        String label = (String) model.getValueAt(0, 0);
        MooreTransition t = (MooreTransition) transition;
        try
        {
            return new MooreTransition(t.getFromState(), t.getToState(), label);
        }
        catch(IllegalArgumentException e)
        {
            reportException(e);
            return null;
        }
    }