private void enableTargetChooser() {
        if (toClassRadioButton.isSelected()) {
            targetVariableList.setEnabled(true);
            targetObjectChooser.setEnabled(false);
        }
        else {
            targetVariableList.setEnabled(false);
            targetObjectChooser.setEnabled(true);
        }
        enableTextFields();
    }
private void enableTargetChooser()