Program: 68509
Project: 68509
Buggy source:
protected Composite getComponent(Composite parent){
  ChartUIUtil.bindHelp(parent,ChartHelpContextIds.POPUP_PLOT_AREA_FORMAT);
  cmpContent=new Composite(parent,SWT.NONE);
  cmpContent.setLayout(new GridLayout());
  Group grpAreaIncluding=new Group(cmpContent,SWT.NONE);
{
    grpAreaIncluding.setLayout(new GridLayout(2,true));
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    grpAreaIncluding.setLayoutData(gd);
    grpAreaIncluding.setText(getChart() instanceof ChartWithAxes ? Messages.getString("String_Node_Str") : Messages.getString("String_Node_Str"));
  }
  Composite leftComp=new Composite(grpAreaIncluding,SWT.NONE);
  GridData gdL=new GridData(GridData.FILL_HORIZONTAL);
  leftComp.setLayout(new GridLayout(3,false));
  leftComp.setLayoutData(gdL);
  Composite rightComp=new Composite(grpAreaIncluding,SWT.NONE);
  GridData gdR=new GridData(GridData.FILL_HORIZONTAL);
  rightComp.setLayout(new GridLayout(1,false));
  rightComp.setLayoutData(gdR);
  Label lblAnchor=new Label(leftComp,SWT.NONE);
  GridData gdLBLAnchor=new GridData();
  lblAnchor.setLayoutData(gdLBLAnchor);
  lblAnchor.setText(Messages.getString("String_Node_Str"));
  cmbAnchor=new Combo(leftComp,SWT.DROP_DOWN | SWT.READ_ONLY);
  GridData gdCBAnchor=new GridData(GridData.FILL_HORIZONTAL);
  gdCBAnchor.horizontalSpan=2;
  cmbAnchor.setLayoutData(gdCBAnchor);
  cmbAnchor.addSelectionListener(this);
  Label lblStretch=new Label(leftComp,SWT.NONE);
{
    GridData gd=new GridData();
    lblStretch.setLayoutData(gd);
    lblStretch.setText(Messages.getString("String_Node_Str"));
  }
  cmbStretch=new Combo(leftComp,SWT.DROP_DOWN | SWT.READ_ONLY);
{
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    gd.horizontalSpan=2;
    cmbStretch.setLayoutData(gd);
    cmbStretch.addSelectionListener(this);
  }
  Label lblVerticalSpacing=new Label(leftComp,SWT.NONE);
  lblVerticalSpacing.setLayoutData(new GridData());
  lblVerticalSpacing.setText(Messages.getString("String_Node_Str"));
  iscVSpacing=new IntegerSpinControl(leftComp,SWT.NONE,getBlockForProcessing().getVerticalSpacing());
  GridData gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=2;
  iscVSpacing.setLayoutData(gd);
  iscVSpacing.addListener(this);
  Label lblHorizontalSpacing=new Label(leftComp,SWT.NONE);
  lblHorizontalSpacing.setLayoutData(new GridData());
  lblHorizontalSpacing.setText(Messages.getString("String_Node_Str"));
  iscHSpacing=new IntegerSpinControl(leftComp,SWT.NONE,getBlockForProcessing().getHorizontalSpacing());
  gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=2;
  iscHSpacing.setLayoutData(gd);
  iscHSpacing.addListener(this);
  new Label(leftComp,SWT.NONE).setText(Messages.getString("String_Node_Str"));
  txtHeight=new LocalizedNumberEditorComposite(leftComp,SWT.BORDER);
  new TextNumberEditorAssistField(txtHeight.getTextControl(),null);
{
    txtHeight.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    txtHeight.addModifyListener(this);
  }
  btnHeight=new Button(leftComp,SWT.CHECK);
  btnHeight.setText(Messages.getString("String_Node_Str"));
  gd=new GridData();
  btnHeight.setLayoutData(gd);
  btnHeight.addSelectionListener(this);
  new Label(leftComp,SWT.NONE).setText(Messages.getString("String_Node_Str"));
  txtWidth=new LocalizedNumberEditorComposite(leftComp,SWT.BORDER);
  new TextNumberEditorAssistField(txtWidth.getTextControl(),null);
{
    txtWidth.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    txtWidth.addModifyListener(this);
  }
  btnWidth=new Button(leftComp,SWT.CHECK);
  btnWidth.setText(Messages.getString("String_Node_Str"));
  gd=new GridData();
  btnWidth.setLayoutData(gd);
  btnWidth.addSelectionListener(this);
  updateHeightWidthHint();
  Group grpOutline=new Group(rightComp,SWT.NONE);
  GridData gdGRPOutline=new GridData(GridData.FILL_HORIZONTAL);
  gdGRPOutline.widthHint=150;
  grpOutline.setLayoutData(gdGRPOutline);
  grpOutline.setLayout(new FillLayout());
  grpOutline.setText(Messages.getString("String_Node_Str"));
  outlineIncluding=new LineAttributesComposite(grpOutline,SWT.NONE,getContext(),getBlockForProcessing().getOutline(),true,true,false);
  outlineIncluding.addListener(this);
  icIncluding=new InsetsComposite(rightComp,SWT.NONE,getBlockForProcessing().getInsets(),getChart().getUnits(),getContext().getUIServiceProvider());
  GridData gdInsets=new GridData(GridData.FILL_HORIZONTAL);
  icIncluding.setLayoutData(gdInsets);
  Group grpAreaWithin=new Group(cmpContent,SWT.NONE);
{
    grpAreaWithin.setLayout(new GridLayout(4,false));
    gd=new GridData(GridData.FILL_HORIZONTAL);
    grpAreaWithin.setLayoutData(gd);
    grpAreaWithin.setText(getChart() instanceof ChartWithAxes ? Messages.getString("String_Node_Str") : Messages.getString("String_Node_Str"));
  }
  createClientArea(grpAreaWithin);
  populateLists();
  return cmpContent;
}

Fixed version (ground truth):
protected Composite getComponent(Composite parent){
  ChartUIUtil.bindHelp(parent,ChartHelpContextIds.POPUP_PLOT_AREA_FORMAT);
  cmpContent=new Composite(parent,SWT.NONE);
  cmpContent.setLayout(new GridLayout());
  Group grpAreaIncluding=new Group(cmpContent,SWT.NONE);
{
    grpAreaIncluding.setLayout(new GridLayout(2,true));
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    grpAreaIncluding.setLayoutData(gd);
    grpAreaIncluding.setText(getChart() instanceof ChartWithAxes ? Messages.getString("String_Node_Str") : Messages.getString("String_Node_Str"));
  }
  Composite leftComp=new Composite(grpAreaIncluding,SWT.NONE);
  GridData gdL=new GridData(GridData.FILL_HORIZONTAL);
  leftComp.setLayout(new GridLayout(3,false));
  leftComp.setLayoutData(gdL);
  Composite rightComp=new Composite(grpAreaIncluding,SWT.NONE);
  GridData gdR=new GridData(GridData.FILL_HORIZONTAL);
  rightComp.setLayout(new GridLayout(1,false));
  rightComp.setLayoutData(gdR);
  Label lblAnchor=new Label(leftComp,SWT.NONE);
  GridData gdLBLAnchor=new GridData();
  lblAnchor.setLayoutData(gdLBLAnchor);
  lblAnchor.setText(Messages.getString("String_Node_Str"));
  cmbAnchor=new Combo(leftComp,SWT.DROP_DOWN | SWT.READ_ONLY);
  GridData gdCBAnchor=new GridData(GridData.FILL_HORIZONTAL);
  gdCBAnchor.horizontalSpan=2;
  cmbAnchor.setLayoutData(gdCBAnchor);
  cmbAnchor.addSelectionListener(this);
  cmbAnchor.setVisibleItemCount(30);
  Label lblStretch=new Label(leftComp,SWT.NONE);
{
    GridData gd=new GridData();
    lblStretch.setLayoutData(gd);
    lblStretch.setText(Messages.getString("String_Node_Str"));
  }
  cmbStretch=new Combo(leftComp,SWT.DROP_DOWN | SWT.READ_ONLY);
{
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    gd.horizontalSpan=2;
    cmbStretch.setLayoutData(gd);
    cmbStretch.addSelectionListener(this);
  }
  Label lblVerticalSpacing=new Label(leftComp,SWT.NONE);
  lblVerticalSpacing.setLayoutData(new GridData());
  lblVerticalSpacing.setText(Messages.getString("String_Node_Str"));
  iscVSpacing=new IntegerSpinControl(leftComp,SWT.NONE,getBlockForProcessing().getVerticalSpacing());
  GridData gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=2;
  iscVSpacing.setLayoutData(gd);
  iscVSpacing.addListener(this);
  Label lblHorizontalSpacing=new Label(leftComp,SWT.NONE);
  lblHorizontalSpacing.setLayoutData(new GridData());
  lblHorizontalSpacing.setText(Messages.getString("String_Node_Str"));
  iscHSpacing=new IntegerSpinControl(leftComp,SWT.NONE,getBlockForProcessing().getHorizontalSpacing());
  gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=2;
  iscHSpacing.setLayoutData(gd);
  iscHSpacing.addListener(this);
  new Label(leftComp,SWT.NONE).setText(Messages.getString("String_Node_Str"));
  txtHeight=new LocalizedNumberEditorComposite(leftComp,SWT.BORDER);
  new TextNumberEditorAssistField(txtHeight.getTextControl(),null);
{
    txtHeight.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    txtHeight.addModifyListener(this);
  }
  btnHeight=new Button(leftComp,SWT.CHECK);
  btnHeight.setText(Messages.getString("String_Node_Str"));
  gd=new GridData();
  btnHeight.setLayoutData(gd);
  btnHeight.addSelectionListener(this);
  new Label(leftComp,SWT.NONE).setText(Messages.getString("String_Node_Str"));
  txtWidth=new LocalizedNumberEditorComposite(leftComp,SWT.BORDER);
  new TextNumberEditorAssistField(txtWidth.getTextControl(),null);
{
    txtWidth.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    txtWidth.addModifyListener(this);
  }
  btnWidth=new Button(leftComp,SWT.CHECK);
  btnWidth.setText(Messages.getString("String_Node_Str"));
  gd=new GridData();
  btnWidth.setLayoutData(gd);
  btnWidth.addSelectionListener(this);
  updateHeightWidthHint();
  Group grpOutline=new Group(rightComp,SWT.NONE);
  GridData gdGRPOutline=new GridData(GridData.FILL_HORIZONTAL);
  gdGRPOutline.widthHint=150;
  grpOutline.setLayoutData(gdGRPOutline);
  grpOutline.setLayout(new FillLayout());
  grpOutline.setText(Messages.getString("String_Node_Str"));
  outlineIncluding=new LineAttributesComposite(grpOutline,SWT.NONE,getContext(),getBlockForProcessing().getOutline(),true,true,false);
  outlineIncluding.addListener(this);
  icIncluding=new InsetsComposite(rightComp,SWT.NONE,getBlockForProcessing().getInsets(),getChart().getUnits(),getContext().getUIServiceProvider());
  GridData gdInsets=new GridData(GridData.FILL_HORIZONTAL);
  icIncluding.setLayoutData(gdInsets);
  Group grpAreaWithin=new Group(cmpContent,SWT.NONE);
{
    grpAreaWithin.setLayout(new GridLayout(4,false));
    gd=new GridData(GridData.FILL_HORIZONTAL);
    grpAreaWithin.setLayoutData(gd);
    grpAreaWithin.setText(getChart() instanceof ChartWithAxes ? Messages.getString("String_Node_Str") : Messages.getString("String_Node_Str"));
  }
  createClientArea(grpAreaWithin);
  populateLists();
  return cmpContent;
}