Program: 77992
Project: 77992
Buggy source:
public void createControl(Composite parent){
  Composite composite=new Composite(parent,SWT.NONE);
  GridLayout gridLayout=new GridLayout();
  gridLayout.numColumns=2;
  gridLayout.marginHeight=10;
  gridLayout.marginWidth=10;
  gridLayout.horizontalSpacing=10;
  gridLayout.verticalSpacing=10;
  composite.setLayout(gridLayout);
  Label label0=new Label(composite,SWT.NONE);
  label0.setText(MESSAGE_REPORT_TEMPLATES);
  Label previewLabel=new Label(composite,SWT.NONE);
  previewLabel.setText(MESSAGE_PREVIEW);
  GridData data=new GridData(GridData.BEGINNING);
  previewLabel.setLayoutData(data);
  templateList=new List(composite,SWT.BORDER);
  createCustomTemplateList();
  for (Iterator it=templates.iterator(); it.hasNext(); ) {
    templateList.add(((Template)it.next()).getName());
  }
  data=new GridData(GridData.BEGINNING | GridData.FILL_VERTICAL);
  data.widthHint=170;
  templateList.setLayoutData(data);
  previewPane=new Composite(composite,0);
  data=new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
  previewPane.setLayoutData(data);
  gridLayout=new GridLayout();
  gridLayout.verticalSpacing=10;
  previewPane.setLayout(gridLayout);
  previewCanvas=new ImageCanvas(previewPane,SWT.BORDER);
  data=new GridData(GridData.BEGINNING);
  data.heightHint=229;
  data.widthHint=184;
  previewCanvas.setLayoutData(data);
  Label descriptionTitle=new Label(previewPane,SWT.NONE);
  descriptionTitle.setText(MESSAGE_DESCRIPTION);
  data=new GridData(GridData.FILL_HORIZONTAL);
  descriptionTitle.setLayoutData(data);
  description=new Label(previewPane,SWT.WRAP);
  data=new GridData(GridData.FILL_HORIZONTAL);
  data.widthHint=184;
  data.horizontalIndent=20;
  description.setLayoutData(data);
  new Label(previewPane,SWT.NONE);
  chkBox=new Button(composite,SWT.CHECK);
  chkBox.setText(MESSAGE_SHOW_CHEATSHEET);
  chkBox.setSelection(ReportPlugin.readCheatSheetPreference());
  chkBox.addSelectionListener(new SelectionListener(){
    public void widgetSelected(    SelectionEvent e){
      ReportPlugin.writeCheatSheetPreference(chkBox.getSelection());
    }
    public void widgetDefaultSelected(    SelectionEvent e){
      ReportPlugin.writeCheatSheetPreference(chkBox.getSelection());
    }
  }
);
  hookListeners();
  templateList.select(0);
  templateListener.handleEvent(new Event());
  setControl(composite);
}

Fixed version (ground truth):
public void createControl(Composite parent){
  Composite composite=new Composite(parent,SWT.NONE);
  GridLayout gridLayout=new GridLayout();
  gridLayout.numColumns=2;
  gridLayout.marginHeight=10;
  gridLayout.marginWidth=10;
  gridLayout.horizontalSpacing=10;
  gridLayout.verticalSpacing=10;
  composite.setLayout(gridLayout);
  Label label0=new Label(composite,SWT.NONE);
  label0.setText(MESSAGE_REPORT_TEMPLATES);
  Label previewLabel=new Label(composite,SWT.NONE);
  previewLabel.setText(MESSAGE_PREVIEW);
  GridData data=new GridData(GridData.BEGINNING);
  previewLabel.setLayoutData(data);
  templateList=new List(composite,SWT.BORDER | SWT.H_SCROLL);
  createCustomTemplateList();
  for (Iterator it=templates.iterator(); it.hasNext(); ) {
    templateList.add(((Template)it.next()).getName());
  }
  data=new GridData(GridData.BEGINNING | GridData.FILL_VERTICAL);
  data.widthHint=200;
  templateList.setLayoutData(data);
  previewPane=new Composite(composite,0);
  data=new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
  previewPane.setLayoutData(data);
  gridLayout=new GridLayout();
  gridLayout.verticalSpacing=10;
  previewPane.setLayout(gridLayout);
  previewCanvas=new ImageCanvas(previewPane,SWT.BORDER);
  data=new GridData(GridData.BEGINNING);
  data.heightHint=229;
  data.widthHint=184;
  previewCanvas.setLayoutData(data);
  Label descriptionTitle=new Label(previewPane,SWT.NONE);
  descriptionTitle.setText(MESSAGE_DESCRIPTION);
  data=new GridData(GridData.FILL_HORIZONTAL);
  descriptionTitle.setLayoutData(data);
  description=new Label(previewPane,SWT.WRAP);
  data=new GridData(GridData.FILL_HORIZONTAL);
  data.widthHint=184;
  data.horizontalIndent=20;
  description.setLayoutData(data);
  new Label(previewPane,SWT.NONE);
  chkBox=new Button(composite,SWT.CHECK);
  chkBox.setText(MESSAGE_SHOW_CHEATSHEET);
  chkBox.setSelection(ReportPlugin.readCheatSheetPreference());
  chkBox.addSelectionListener(new SelectionListener(){
    public void widgetSelected(    SelectionEvent e){
      ReportPlugin.writeCheatSheetPreference(chkBox.getSelection());
    }
    public void widgetDefaultSelected(    SelectionEvent e){
      ReportPlugin.writeCheatSheetPreference(chkBox.getSelection());
    }
  }
);
  hookListeners();
  templateList.select(0);
  templateListener.handleEvent(new Event());
  setControl(composite);
}