Program: 147792
Project: 147792
Buggy source:
private Composite getBottom1(Composite botComposite){
  Composite panel1=new Composite(botComposite,SWT.NONE);
  GridLayout layout=new GridLayout(3,false);
  panel1.setLayout(layout);
  Label label2=new Label(panel1,SWT.NONE);
  label2.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,false,false,1,1));
  label2.setText(Messages.ViewInputDialog_Entity);
  entityText=new Text(panel1,getInputTextStyle() | SWT.WRAP);
  GridData layoutData=new GridData(SWT.FILL,SWT.CENTER,true,false,1,1);
  entityText.setLayoutData(layoutData);
  openDLG=new Button(panel1,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(Messages.ViewInputDialog_SelectOneEntity);
  lblFilterName=new Label(panel1,SWT.NONE);
  lblFilterName.setLayoutData(new GridData(SWT.RIGHT,SWT.CENTER,false,false,1,1));
  lblFilterName.setText(Messages.ViewInputDialog_lblFilterName_text);
  filterText1=new Text(panel1,SWT.BORDER);
  GridData layoutData2=new GridData(SWT.FILL,SWT.CENTER,true,false,1,1);
  layoutData2.widthHint=330;
  filterText1.setLayoutData(layoutData2);
  filterText1.setText(Messages.ViewInputDialog_Default);
  new Label(panel1,SWT.NONE);
  final Label internalLabel=new Label(panel1,SWT.NONE | SWT.WRAP);
  internalLabel.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,false,3,1));
  internalLabel.setText(Messages.ViewInputDialog_InternalName);
  internalLabel.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_GRAY));
  filterText1.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      getOkButton().setEnabled(true);
      internalLabel.setText(Messages.bind(Messages.ViewInputDialog_InternalNameX,getInternalName()));
    }
  }
);
  entityText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      getOkButton().setEnabled(true);
      internalLabel.setText(Messages.bind(Messages.ViewInputDialog_InternalNameX,getInternalName()));
    }
  }
);
  return panel1;
}

Fixed version (ground truth):
private Composite getBottom1(Composite botComposite){
  Composite panel1=new Composite(botComposite,SWT.NONE);
  GridLayout layout=new GridLayout(3,false);
  panel1.setLayout(layout);
  Label label2=new Label(panel1,SWT.NONE);
  label2.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,false,false,1,1));
  label2.setText(Messages.ViewInputDialog_Entity);
  entityText=new Text(panel1,getInputTextStyle() | SWT.WRAP);
  GridData layoutData=new GridData(SWT.FILL,SWT.CENTER,true,false,1,1);
  entityText.setLayoutData(layoutData);
  openDLG=new Button(panel1,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(Messages.ViewInputDialog_SelectOneEntity);
  lblFilterName=new Label(panel1,SWT.NONE);
  lblFilterName.setLayoutData(new GridData(SWT.RIGHT,SWT.CENTER,false,false,1,1));
  lblFilterName.setText(Messages.ViewInputDialog_lblFilterName_text);
  filterText1=new Text(panel1,SWT.BORDER);
  GridData layoutData2=new GridData(SWT.FILL,SWT.CENTER,true,false,1,1);
  layoutData2.widthHint=330;
  filterText1.setLayoutData(layoutData2);
  filterText1.setText(Messages.ViewInputDialog_Default);
  filterText1.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_GRAY));
  new Label(panel1,SWT.NONE);
  final Label internalLabel=new Label(panel1,SWT.NONE | SWT.WRAP);
  internalLabel.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,false,3,1));
  internalLabel.setText(Messages.bind(Messages.ViewInputDialog_InternalNameX,getInternalName()));
  internalLabel.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_GRAY));
  filterText1.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      getOkButton().setEnabled(true);
      internalLabel.setText(Messages.bind(Messages.ViewInputDialog_InternalNameX,getInternalName()));
      filterText1.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_BLACK));
    }
  }
);
  filterText1.addFocusListener(new FocusAdapter(){
    @Override public void focusGained(    FocusEvent e){
      if (filterText1.getText().equals(Messages.ViewInputDialog_Default)) {
        filterText1.setText("String_Node_Str");
        filterText1.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_BLACK));
      }
    }
    @Override public void focusLost(    FocusEvent e){
      if (filterText1.getText().isEmpty()) {
        filterText1.setText(Messages.ViewInputDialog_Default);
        filterText1.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_GRAY));
      }
    }
  }
);
  entityText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      getOkButton().setEnabled(true);
      internalLabel.setText(Messages.bind(Messages.ViewInputDialog_InternalNameX,getInternalName()));
    }
  }
);
  return panel1;
}