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