Program: 78643
Project: 78643
Buggy source:
private void placeComponents(){
  GridLayout glContent=new GridLayout();
  glContent.verticalSpacing=5;
  glContent.horizontalSpacing=5;
  glContent.marginHeight=7;
  glContent.marginWidth=7;
  glContent.numColumns=9;
  cmpContent=new Composite(shell,SWT.NONE);
  cmpContent.setLayout(glContent);
  Label lblFont=new Label(cmpContent,SWT.NONE);
  GridData gdLFont=new GridData();
  gdLFont.heightHint=22;
  lblFont.setLayoutData(gdLFont);
  lblFont.setText(Messages.getString("String_Node_Str"));
  cmbFontNames=new Combo(cmpContent,SWT.DROP_DOWN | SWT.READ_ONLY);
  GridData gdCMBFontNames=new GridData(GridData.FILL_HORIZONTAL);
  gdCMBFontNames.horizontalSpan=8;
  cmbFontNames.setLayoutData(gdCMBFontNames);
  cmbFontNames.addSelectionListener(this);
  Label lblSize=new Label(cmpContent,SWT.NONE);
  GridData gdLSize=new GridData();
  gdLSize.heightHint=22;
  lblSize.setLayoutData(gdLSize);
  lblSize.setText(Messages.getString("String_Node_Str"));
  iscFontSizes=new IntegerSpinControl(cmpContent,SWT.NONE,ChartUIUtil.getFontSize(fdCurrent));
  GridData gdISCFontSizes=new GridData(GridData.FILL_HORIZONTAL);
  gdISCFontSizes.horizontalSpan=3;
  iscFontSizes.setLayoutData(gdISCFontSizes);
  iscFontSizes.setMinimum(MIN_FONT_SIZE);
  iscFontSizes.setMaximum(MAX_FONT_SIZE);
  iscFontSizes.addListener(this);
  Label lblForeground=new Label(cmpContent,SWT.NONE);
  GridData gdLForeground=new GridData();
  gdLForeground.horizontalSpan=2;
  gdLForeground.horizontalIndent=40;
  lblForeground.setLayoutData(gdLForeground);
  lblForeground.setText(Messages.getString("String_Node_Str"));
  fccColor=new FillChooserComposite(cmpContent,SWT.NONE,cdCurrent,false,false);
  GridData gdFCCColor=new GridData(GridData.FILL_HORIZONTAL);
  gdFCCColor.horizontalSpan=3;
  fccColor.setLayoutData(gdFCCColor);
  fccColor.addListener(this);
  createFontStylePanel();
  Label lblFormat=new Label(cmpContent,SWT.NONE);
  GridData gdLFormat=new GridData();
  gdLFormat.horizontalSpan=2;
  gdLFormat.horizontalIndent=40;
  lblFormat.setLayoutData(gdLFormat);
  lblFormat.setText(Messages.getString("String_Node_Str"));
  Composite cmpFormat=new Composite(cmpContent,SWT.NONE);
{
    GridLayout layout=new GridLayout(2,false);
    layout.marginHeight=0;
    cmpFormat.setLayout(layout);
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    gd.horizontalSpan=3;
    cmpFormat.setLayoutData(gd);
  }
  cbStrikethru=new Button(cmpFormat,SWT.CHECK);
  cbStrikethru.addSelectionListener(this);
  cbStrikethru.setText(Messages.getString("String_Node_Str"));
  cbStrikethru.setSelection(fdCurrent.isSetStrikethrough() && fdCurrent.isStrikethrough());
  cbWrap=new Button(cmpFormat,SWT.CHECK);
  cbWrap.addSelectionListener(this);
  cbWrap.setText(Messages.getString("String_Node_Str"));
  cbWrap.setSelection(fdCurrent.isSetWordWrap() && fdCurrent.isWordWrap());
  if (isAlignmentEnabled) {
    createAlignmentPanel();
  }
  createRotationPanel();
  Label lblPreview=new Label(cmpContent,SWT.NONE);
{
    lblPreview.setText(Messages.getString("String_Node_Str"));
    lblPreview.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING));
  }
  FillLayout flPreview=new FillLayout();
  flPreview.marginHeight=2;
  flPreview.marginWidth=3;
  Composite grpPreview=new Composite(cmpContent,SWT.NONE);
  GridData gdGRPPreview=new GridData(GridData.FILL_BOTH);
  gdGRPPreview.horizontalSpan=4;
  grpPreview.setLayoutData(gdGRPPreview);
  grpPreview.setLayout(flPreview);
  fcPreview=new FontCanvas(grpPreview,SWT.NONE,fdCurrent,cdCurrent,true,true,true);
  createButtonPanel();
}

Fixed version (ground truth):
private void placeComponents(){
  GridLayout glContent=new GridLayout();
  glContent.verticalSpacing=5;
  glContent.horizontalSpacing=5;
  glContent.marginHeight=7;
  glContent.marginWidth=7;
  glContent.numColumns=9;
  cmpContent=new Composite(shell,SWT.NONE);
  cmpContent.setLayout(glContent);
  Label lblFont=new Label(cmpContent,SWT.NONE);
  GridData gdLFont=new GridData();
  gdLFont.heightHint=22;
  lblFont.setLayoutData(gdLFont);
  lblFont.setText(Messages.getString("String_Node_Str"));
  cmbFontNames=new Combo(cmpContent,SWT.DROP_DOWN | SWT.READ_ONLY);
  GridData gdCMBFontNames=new GridData(GridData.FILL_HORIZONTAL);
  gdCMBFontNames.horizontalSpan=8;
  cmbFontNames.setLayoutData(gdCMBFontNames);
  cmbFontNames.addSelectionListener(this);
  Label lblSize=new Label(cmpContent,SWT.NONE);
  GridData gdLSize=new GridData();
  gdLSize.heightHint=22;
  lblSize.setLayoutData(gdLSize);
  lblSize.setText(Messages.getString("String_Node_Str"));
  iscFontSizes=new IntegerSpinControl(cmpContent,SWT.NONE,ChartUIUtil.getFontSize(fdCurrent));
  GridData gdISCFontSizes=new GridData(GridData.FILL_HORIZONTAL);
  gdISCFontSizes.horizontalSpan=3;
  iscFontSizes.setLayoutData(gdISCFontSizes);
  iscFontSizes.setMinimum(MIN_FONT_SIZE);
  iscFontSizes.setMaximum(MAX_FONT_SIZE);
  iscFontSizes.addListener(this);
  Label lblForeground=new Label(cmpContent,SWT.NONE);
  GridData gdLForeground=new GridData();
  gdLForeground.horizontalSpan=2;
  gdLForeground.horizontalIndent=40;
  lblForeground.setLayoutData(gdLForeground);
  lblForeground.setText(Messages.getString("String_Node_Str"));
  fccColor=new FillChooserComposite(cmpContent,SWT.NONE,cdCurrent,false,false);
  GridData gdFCCColor=new GridData(GridData.FILL_HORIZONTAL);
  gdFCCColor.horizontalSpan=3;
  fccColor.setLayoutData(gdFCCColor);
  fccColor.addListener(this);
  createFontStylePanel();
  Label lblFormat=new Label(cmpContent,SWT.NONE);
  GridData gdLFormat=new GridData();
  gdLFormat.horizontalSpan=2;
  gdLFormat.horizontalIndent=40;
  lblFormat.setLayoutData(gdLFormat);
  lblFormat.setText(Messages.getString("String_Node_Str"));
  Composite cmpFormat=new Composite(cmpContent,SWT.NONE);
{
    GridLayout layout=new GridLayout(2,false);
    layout.marginHeight=0;
    cmpFormat.setLayout(layout);
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    gd.horizontalSpan=3;
    cmpFormat.setLayoutData(gd);
  }
  cbStrikethru=new Button(cmpFormat,SWT.CHECK);
  cbStrikethru.addSelectionListener(this);
  cbStrikethru.setText(Messages.getString("String_Node_Str"));
  cbStrikethru.setSelection(fdCurrent.isSetStrikethrough() && fdCurrent.isStrikethrough());
  if (isAlignmentEnabled) {
    createAlignmentPanel();
  }
  createRotationPanel();
  Label lblPreview=new Label(cmpContent,SWT.NONE);
{
    lblPreview.setText(Messages.getString("String_Node_Str"));
    lblPreview.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING));
  }
  FillLayout flPreview=new FillLayout();
  flPreview.marginHeight=2;
  flPreview.marginWidth=3;
  Composite grpPreview=new Composite(cmpContent,SWT.NONE);
  GridData gdGRPPreview=new GridData(GridData.FILL_BOTH);
  gdGRPPreview.horizontalSpan=4;
  grpPreview.setLayoutData(gdGRPPreview);
  grpPreview.setLayout(flPreview);
  fcPreview=new FontCanvas(grpPreview,SWT.NONE,fdCurrent,cdCurrent,true,true,true);
  createButtonPanel();
}