Program: 148068
Project: 148068
Buggy source:
@Override protected Control createDialogArea(final Composite parent){
  composite=(Composite)super.createDialogArea(parent);
  GridLayout layout=(GridLayout)composite.getLayout();
  layout.makeColumnsEqualWidth=false;
  layout.numColumns=2;
  if (message != null) {
    label=new Label(composite,SWT.NONE);
    label.setText(message);
    label.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,false,false,2,1));
    label.setFont(parent.getFont());
  }
  text=new Text(composite,getInputTextStyle());
  text.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL));
  text.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      validateInput();
    }
  }
);
  openDLG=new Button(composite,SWT.NONE);
  openDLG.setImage(ImageCache.getCreatedImage(EImage.DOTS_BUTTON.getPath()));
  openDLG.addSelectionListener(this);
  openDLG.setLayoutData(new GridData(SWT.RIGHT,SWT.CENTER,false,false,1,1));
  openDLG.setVisible(isBtnShow);
  openDLG.setToolTipText("String_Node_Str");
  errorMessageText=new Text(composite,SWT.READ_ONLY | SWT.WRAP);
  errorMessageText.setLayoutData(new GridData(SWT.FILL,SWT.TOP,false,false,2,1));
  errorMessageText.setBackground(errorMessageText.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND));
  setErrorMessage(errorMessage);
  if (isTransfor) {
    Group radioGroup=new Group(parent,SWT.SHADOW_NONE);
    radioGroup.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,false,2,1));
    radioGroup.setLayout(new GridLayout(1,false));
    radioGroup.setText("String_Node_Str");
    transformeButton=new Button(radioGroup,SWT.RADIO);
    transformeButton.setText("String_Node_Str");
    transformeButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
    text.setText("String_Node_Str");
    transformeButton.addSelectionListener(new SelectionListener(){
      public void widgetDefaultSelected(      SelectionEvent e){
      }
      public void widgetSelected(      SelectionEvent e){
        text.setText("String_Node_Str");
        label.setText(message);
        openDLG.setVisible(false);
        parent.layout(true);
        value="String_Node_Str";
      }
    }
);
    transformeButton.setSelection(true);
    smartViewButton=new Button(radioGroup,SWT.RADIO);
    smartViewButton.setText("String_Node_Str");
    smartViewButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
    smartViewButton.addSelectionListener(new SelectionListener(){
      public void widgetDefaultSelected(      SelectionEvent e){
      }
      public void widgetSelected(      SelectionEvent e){
        text.setText(Smart_view);
        label.setText("String_Node_Str");
        openDLG.setVisible(true);
        value=Smart_view;
      }
    }
);
    beforeSavingButton=new Button(radioGroup,SWT.RADIO);
    beforeSavingButton.setText("String_Node_Str");
    beforeSavingButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
    beforeSavingButton.addSelectionListener(new SelectionListener(){
      public void widgetDefaultSelected(      SelectionEvent e){
      }
      public void widgetSelected(      SelectionEvent e){
        text.setText(beforeSaving);
        label.setText("String_Node_Str");
        openDLG.setVisible(true);
        value=beforeSaving;
      }
    }
);
    beforeDeletingButton=new Button(radioGroup,SWT.RADIO);
    beforeDeletingButton.setText("String_Node_Str");
    beforeDeletingButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
    beforeDeletingButton.addSelectionListener(new SelectionListener(){
      public void widgetDefaultSelected(      SelectionEvent e){
      }
      public void widgetSelected(      SelectionEvent e){
        text.setText(beforeDeleting);
        label.setText("String_Node_Str");
        openDLG.setVisible(true);
        value=beforeDeleting;
      }
    }
);
    runnableProcessButton=new Button(radioGroup,SWT.RADIO);
    runnableProcessButton.setText("String_Node_Str");
    runnableProcessButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
    runnableProcessButton.addSelectionListener(new SelectionListener(){
      public void widgetDefaultSelected(      SelectionEvent e){
      }
      public void widgetSelected(      SelectionEvent e){
        text.setText(runnableProcess);
        label.setText("String_Node_Str");
        openDLG.setVisible(true);
        value=runnableProcess;
      }
    }
);
    standaloneProcessButton=new Button(radioGroup,SWT.RADIO);
    standaloneProcessButton.setText("String_Node_Str");
    standaloneProcessButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
    standaloneProcessButton.addSelectionListener(new SelectionListener(){
      public void widgetDefaultSelected(      SelectionEvent e){
      }
      public void widgetSelected(      SelectionEvent e){
        text.setText(standaloneProcess);
        label.setText("String_Node_Str");
        openDLG.setVisible(true);
        value=standaloneProcess;
      }
    }
);
  }
 else {
    if (value != null) {
      text.setText(value);
    }
  }
  applyDialogFont(composite);
  return composite;
}

Fixed version (ground truth):
@Override protected Control createDialogArea(final Composite parent){
  composite=(Composite)super.createDialogArea(parent);
  GridLayout layout=(GridLayout)composite.getLayout();
  layout.makeColumnsEqualWidth=false;
  layout.numColumns=2;
  if (message != null) {
    label=new Label(composite,SWT.NONE);
    label.setText(message);
    label.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,false,false,2,1));
    label.setFont(parent.getFont());
  }
  text=new Text(composite,getInputTextStyle());
  text.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL));
  text.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      validateInput();
    }
  }
);
  openDLG=new Button(composite,SWT.NONE);
  openDLG.setImage(ImageCache.getCreatedImage(EImage.DOTS_BUTTON.getPath()));
  openDLG.addSelectionListener(this);
  openDLG.setLayoutData(new GridData(SWT.RIGHT,SWT.CENTER,false,false,1,1));
  openDLG.setVisible(isBtnShow);
  openDLG.setToolTipText("String_Node_Str");
  errorMessageText=new Text(composite,SWT.READ_ONLY | SWT.WRAP);
  errorMessageText.setLayoutData(new GridData(SWT.FILL,SWT.TOP,false,false,2,1));
  errorMessageText.setBackground(errorMessageText.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND));
  setErrorMessage(errorMessage);
  if (isTransfor) {
    Group radioGroup=new Group(composite,SWT.SHADOW_NONE);
    radioGroup.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,false,2,1));
    radioGroup.setLayout(new GridLayout(1,false));
    radioGroup.setText("String_Node_Str");
    transformeButton=new Button(radioGroup,SWT.RADIO);
    transformeButton.setText("String_Node_Str");
    transformeButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
    text.setText("String_Node_Str");
    transformeButton.addSelectionListener(new SelectionListener(){
      public void widgetDefaultSelected(      SelectionEvent e){
      }
      public void widgetSelected(      SelectionEvent e){
        text.setText("String_Node_Str");
        label.setText(message);
        openDLG.setVisible(false);
        parent.layout(true);
        value="String_Node_Str";
      }
    }
);
    transformeButton.setSelection(true);
    smartViewButton=new Button(radioGroup,SWT.RADIO);
    smartViewButton.setText("String_Node_Str");
    smartViewButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
    smartViewButton.addSelectionListener(new SelectionListener(){
      public void widgetDefaultSelected(      SelectionEvent e){
      }
      public void widgetSelected(      SelectionEvent e){
        text.setText(Smart_view);
        label.setText("String_Node_Str");
        openDLG.setVisible(true);
        value=Smart_view;
      }
    }
);
    beforeSavingButton=new Button(radioGroup,SWT.RADIO);
    beforeSavingButton.setText("String_Node_Str");
    beforeSavingButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
    beforeSavingButton.addSelectionListener(new SelectionListener(){
      public void widgetDefaultSelected(      SelectionEvent e){
      }
      public void widgetSelected(      SelectionEvent e){
        text.setText(beforeSaving);
        label.setText("String_Node_Str");
        openDLG.setVisible(true);
        value=beforeSaving;
      }
    }
);
    beforeDeletingButton=new Button(radioGroup,SWT.RADIO);
    beforeDeletingButton.setText("String_Node_Str");
    beforeDeletingButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
    beforeDeletingButton.addSelectionListener(new SelectionListener(){
      public void widgetDefaultSelected(      SelectionEvent e){
      }
      public void widgetSelected(      SelectionEvent e){
        text.setText(beforeDeleting);
        label.setText("String_Node_Str");
        openDLG.setVisible(true);
        value=beforeDeleting;
      }
    }
);
    runnableProcessButton=new Button(radioGroup,SWT.RADIO);
    runnableProcessButton.setText("String_Node_Str");
    runnableProcessButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
    runnableProcessButton.addSelectionListener(new SelectionListener(){
      public void widgetDefaultSelected(      SelectionEvent e){
      }
      public void widgetSelected(      SelectionEvent e){
        text.setText(runnableProcess);
        label.setText("String_Node_Str");
        openDLG.setVisible(true);
        value=runnableProcess;
      }
    }
);
    standaloneProcessButton=new Button(radioGroup,SWT.RADIO);
    standaloneProcessButton.setText("String_Node_Str");
    standaloneProcessButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
    standaloneProcessButton.addSelectionListener(new SelectionListener(){
      public void widgetDefaultSelected(      SelectionEvent e){
      }
      public void widgetSelected(      SelectionEvent e){
        text.setText(standaloneProcess);
        label.setText("String_Node_Str");
        openDLG.setVisible(true);
        value=standaloneProcess;
      }
    }
);
  }
 else {
    if (value != null) {
      text.setText(value);
    }
  }
  applyDialogFont(composite);
  return composite;
}