Program: 2707
Project: 2707
Buggy source:
@Override public void createControl(final Composite parent){
  Composite composite=SWTFactory.createComposite(parent,1,1,GridData.FILL_HORIZONTAL);
  m_comp=composite;
  Composite namecomp=SWTFactory.createComposite(composite,composite.getFont(),3,1,GridData.FILL_HORIZONTAL,0,0);
  SWTFactory.createLabel(namecomp,"String_Node_Str",1);
  m_appNameText=SWTFactory.createText(namecomp,SWT.BORDER | SWT.SINGLE | SWT.READ_ONLY,1);
  m_appNameText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      if (m_configuration != null) {
        m_configuration.setAttribute(ConfigurationConstants.projectNameCfgAttribute,m_appNameText.getText());
        showApplyButton();
      }
    }
  }
);
  Button browseButton=SWTFactory.createPushButton(namecomp,"String_Node_Str",null);
  browseButton.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      selectProjectDialog();
    }
  }
);
  SWTFactory.createLabel(namecomp,"String_Node_Str",1);
  m_selectPlatformCombo=SWTFactory.createCombo(namecomp,SWT.READ_ONLY,1,PlatformType.getPublicIds());
  m_selectPlatformCombo.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      if (m_configuration != null) {
        encodePlatformInformation(m_selectPlatformCombo.getText());
        showApplyButton();
      }
    }
  }
);
  m_selectPlatformCombo.select(0);
  GridData comboAligment=new GridData();
  comboAligment.horizontalAlignment=GridData.FILL;
  m_selectPlatformVersionCombo=SWTFactory.createCombo(namecomp,SWT.READ_ONLY,1,androidVersions);
  m_selectPlatformVersionCombo.setLayoutData(comboAligment);
  m_selectPlatformVersionCombo.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      if (m_configuration != null) {
        encodeVersionCombo(m_selectPlatformVersionCombo.getText());
        showApplyButton();
      }
    }
  }
);
  m_selectPlatformVersionCombo.select(0);
  m_platformTypeLabel=SWTFactory.createLabel(namecomp,"String_Node_Str",1);
  m_platformTypeCombo=SWTFactory.createCombo(namecomp,SWT.READ_ONLY,1,simulatorTypes);
  m_platformTypeCombo.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      if (m_configuration != null) {
        if (m_platformTypeCombo.getText().equals(RunType.platformDevice) && m_selectPlatformCombo.getText().equals(PlatformType.eIPhone.publicId)) {
          DialogUtils.warning("String_Node_Str","String_Node_Str");
          m_platformTypeCombo.select(m_platformTypeCombo.indexOf(RunType.platformRhoSim));
        }
        if (m_platformTypeCombo.getText().equals(RunType.platformDevice) && m_selectPlatformCombo.getText().equals(PlatformType.eWin32.publicId)) {
          DialogUtils.warning("String_Node_Str","String_Node_Str");
          m_platformTypeCombo.select(m_platformTypeCombo.indexOf(RunType.platformSim));
        }
        if (m_platformTypeCombo.getText().equals(RunType.platformSim) && m_selectPlatformCombo.getText().equals(PlatformType.eWCE.publicId)) {
          DialogUtils.warning("String_Node_Str","String_Node_Str");
          m_platformTypeCombo.select(m_platformTypeCombo.indexOf(RunType.platformDevice));
        }
        encodePlatformTypeCombo(m_platformTypeCombo.getText());
        encodePlatformInformation(m_selectPlatformCombo.getText());
        showApplyButton();
      }
    }
  }
);
  m_selectPlatformVersionCombo.select(0);
  SWTFactory.createLabel(namecomp,"String_Node_Str",1);
  m_androidEmuNameLabel=SWTFactory.createLabel(namecomp,"String_Node_Str",1);
  m_adroidEmuNameText=SWTFactory.createText(namecomp,SWT.BORDER | SWT.SINGLE,1);
  m_adroidEmuNameText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      encodeEmuNameText(m_adroidEmuNameText.getText());
    }
  }
);
  GridData checkBoxAligment=new GridData();
  checkBoxAligment.horizontalAlignment=GridData.FILL;
  checkBoxAligment.horizontalSpan=3;
  m_cleanButton=new Button(composite,SWT.CHECK);
  m_cleanButton.setText("String_Node_Str");
  m_cleanButton.setSelection(false);
  m_cleanButton.setLayoutData(checkBoxAligment);
  m_cleanButton.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      if (m_configuration != null) {
        m_configuration.setAttribute(ConfigurationConstants.isCleanAttribute,m_cleanButton.getSelection());
        showApplyButton();
      }
    }
  }
);
  m_reloadButton=new Button(composite,SWT.CHECK);
  m_reloadButton.setText("String_Node_Str");
  m_reloadButton.setSelection(false);
  m_reloadButton.setLayoutData(checkBoxAligment);
  m_reloadButton.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      if (m_configuration != null) {
        m_configuration.setAttribute(ConfigurationConstants.isReloadCodeAttribute,m_reloadButton.getSelection());
        showApplyButton();
      }
    }
  }
);
  m_traceButton=new Button(composite,SWT.CHECK);
  m_traceButton.setText("String_Node_Str");
  m_traceButton.setSelection(false);
  m_traceButton.setLayoutData(checkBoxAligment);
  m_traceButton.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      if (m_configuration != null) {
        m_configuration.setAttribute(ConfigurationConstants.isTraceAttribute,m_traceButton.getSelection());
        showApplyButton();
      }
    }
  }
);
}

Fixed version (ground truth):
@Override public void createControl(final Composite parent){
  Composite composite=SWTFactory.createComposite(parent,1,1,GridData.FILL_HORIZONTAL);
  m_comp=composite;
  Composite namecomp=SWTFactory.createComposite(composite,composite.getFont(),3,1,GridData.FILL_HORIZONTAL,0,0);
  SWTFactory.createLabel(namecomp,"String_Node_Str",1);
  m_appNameText=SWTFactory.createText(namecomp,SWT.BORDER | SWT.SINGLE | SWT.READ_ONLY,1);
  m_appNameText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      if (m_configuration != null) {
        m_configuration.setAttribute(ConfigurationConstants.projectNameCfgAttribute,m_appNameText.getText());
        showApplyButton();
      }
    }
  }
);
  Button browseButton=SWTFactory.createPushButton(namecomp,"String_Node_Str",null);
  browseButton.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      selectProjectDialog();
    }
  }
);
  SWTFactory.createLabel(namecomp,"String_Node_Str",1);
  m_selectPlatformCombo=SWTFactory.createCombo(namecomp,SWT.READ_ONLY,1,PlatformType.getPublicIds());
  m_selectPlatformCombo.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      if (m_configuration != null) {
        try {
          encodePlatformInformation(m_selectPlatformCombo.getText());
          setPlatfromTypeCombo(m_configuration);
          showApplyButton();
        }
 catch (        CoreException e1) {
        }
      }
    }
  }
);
  m_selectPlatformCombo.select(0);
  GridData comboAligment=new GridData();
  comboAligment.horizontalAlignment=GridData.FILL;
  m_selectPlatformVersionCombo=SWTFactory.createCombo(namecomp,SWT.READ_ONLY,1,androidVersions);
  m_selectPlatformVersionCombo.setLayoutData(comboAligment);
  m_selectPlatformVersionCombo.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      if (m_configuration != null) {
        encodeVersionCombo(m_selectPlatformVersionCombo.getText());
        showApplyButton();
      }
    }
  }
);
  m_selectPlatformVersionCombo.select(0);
  m_platformTypeLabel=SWTFactory.createLabel(namecomp,"String_Node_Str",1);
  m_platformTypeCombo=SWTFactory.createCombo(namecomp,SWT.READ_ONLY,1,simulatorTypes);
  m_platformTypeCombo.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      if (m_configuration != null) {
        if (m_platformTypeCombo.getText().equals(RunType.platformDevice) && m_selectPlatformCombo.getText().equals(PlatformType.eIPhone.publicId)) {
          DialogUtils.warning("String_Node_Str","String_Node_Str");
          m_platformTypeCombo.select(m_platformTypeCombo.indexOf(RunType.platformRhoSim));
        }
        if (m_platformTypeCombo.getText().equals(RunType.platformDevice) && m_selectPlatformCombo.getText().equals(PlatformType.eWin32.publicId)) {
          DialogUtils.warning("String_Node_Str","String_Node_Str");
          m_platformTypeCombo.select(m_platformTypeCombo.indexOf(RunType.platformSim));
        }
        if (m_platformTypeCombo.getText().equals(RunType.platformSim) && m_selectPlatformCombo.getText().equals(PlatformType.eWCE.publicId)) {
          DialogUtils.warning("String_Node_Str","String_Node_Str");
          m_platformTypeCombo.select(m_platformTypeCombo.indexOf(RunType.platformDevice));
        }
        encodePlatformTypeCombo(m_platformTypeCombo.getText());
        encodePlatformInformation(m_selectPlatformCombo.getText());
        showApplyButton();
      }
    }
  }
);
  m_selectPlatformVersionCombo.select(0);
  SWTFactory.createLabel(namecomp,"String_Node_Str",1);
  m_androidEmuNameLabel=SWTFactory.createLabel(namecomp,"String_Node_Str",1);
  m_adroidEmuNameText=SWTFactory.createText(namecomp,SWT.BORDER | SWT.SINGLE,1);
  m_adroidEmuNameText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      encodeEmuNameText(m_adroidEmuNameText.getText());
    }
  }
);
  GridData checkBoxAligment=new GridData();
  checkBoxAligment.horizontalAlignment=GridData.FILL;
  checkBoxAligment.horizontalSpan=3;
  m_cleanButton=new Button(composite,SWT.CHECK);
  m_cleanButton.setText("String_Node_Str");
  m_cleanButton.setSelection(false);
  m_cleanButton.setLayoutData(checkBoxAligment);
  m_cleanButton.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      if (m_configuration != null) {
        m_configuration.setAttribute(ConfigurationConstants.isCleanAttribute,m_cleanButton.getSelection());
        showApplyButton();
      }
    }
  }
);
  m_reloadButton=new Button(composite,SWT.CHECK);
  m_reloadButton.setText("String_Node_Str");
  m_reloadButton.setSelection(false);
  m_reloadButton.setLayoutData(checkBoxAligment);
  m_reloadButton.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      if (m_configuration != null) {
        m_configuration.setAttribute(ConfigurationConstants.isReloadCodeAttribute,m_reloadButton.getSelection());
        showApplyButton();
      }
    }
  }
);
  m_traceButton=new Button(composite,SWT.CHECK);
  m_traceButton.setText("String_Node_Str");
  m_traceButton.setSelection(false);
  m_traceButton.setLayoutData(checkBoxAligment);
  m_traceButton.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      if (m_configuration != null) {
        m_configuration.setAttribute(ConfigurationConstants.isTraceAttribute,m_traceButton.getSelection());
        showApplyButton();
      }
    }
  }
);
}