Program: 78644
Project: 78644
Buggy source:
public void getComponent(Composite parent){
  init();
  cmpContent=new Composite(parent,SWT.NONE);
{
    GridLayout glContent=new GridLayout(2,false);
    cmpContent.setLayout(glContent);
    GridData gd=new GridData(GridData.FILL_BOTH);
    cmpContent.setLayoutData(gd);
  }
  Composite cmpBasic=new Composite(cmpContent,SWT.NONE);
{
    cmpBasic.setLayout(new GridLayout(3,false));
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    cmpBasic.setLayoutData(gd);
  }
  new Label(cmpBasic,SWT.NONE).setText(Messages.getString("String_Node_Str"));
  List keys=null;
  if (getContext().getUIServiceProvider() != null) {
    keys=getContext().getUIServiceProvider().getRegisteredKeys();
  }
  txtTitle=new ExternalizedTextEditorComposite(cmpBasic,SWT.BORDER,-1,-1,keys,getContext().getUIServiceProvider(),getChart().getLegend().getTitle().getCaption().getValue());
{
    GridData gd=new GridData();
    gd.widthHint=200;
    txtTitle.setLayoutData(gd);
    txtTitle.addListener(this);
    txtTitle.setEnabled(getChart().getLegend().getTitle().isVisible());
  }
  btnTitleVisible=new Button(cmpBasic,SWT.CHECK);
{
    btnTitleVisible.setText(Messages.getString("String_Node_Str"));
    btnTitleVisible.addSelectionListener(this);
    btnTitleVisible.setSelection(getChart().getLegend().getTitle().isVisible());
  }
  new Label(cmpBasic,SWT.NONE).setText(Messages.getString("String_Node_Str"));
  cmbBackgroundColor=new FillChooserComposite(cmpBasic,SWT.DROP_DOWN | SWT.READ_ONLY,getChart().getLegend().getClientArea().getBackground(),true,true);
{
    GridData gridData=new GridData();
    gridData.widthHint=200;
    gridData.horizontalSpan=2;
    cmbBackgroundColor.setLayoutData(gridData);
    cmbBackgroundColor.addListener(this);
  }
  new Label(cmpBasic,SWT.NONE).setText(Messages.getString("String_Node_Str"));
  btnShowValue=new Button(cmpBasic,SWT.CHECK);
{
    GridData gridData=new GridData();
    gridData.horizontalSpan=2;
    btnShowValue.setLayoutData(gridData);
    btnShowValue.setText(Messages.getString("String_Node_Str"));
    btnShowValue.setToolTipText(Messages.getString("String_Node_Str"));
    btnShowValue.addSelectionListener(this);
    btnShowValue.setSelection(getChart().getLegend().isShowValue());
  }
  createButtonGroup(cmpContent);
}

Fixed version (ground truth):
public void getComponent(Composite parent){
  init();
  cmpContent=new Composite(parent,SWT.NONE);
{
    GridLayout glContent=new GridLayout(2,false);
    cmpContent.setLayout(glContent);
    GridData gd=new GridData(GridData.FILL_BOTH);
    cmpContent.setLayoutData(gd);
  }
  Composite cmpBasic=new Composite(cmpContent,SWT.NONE);
{
    cmpBasic.setLayout(new GridLayout(3,false));
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    cmpBasic.setLayoutData(gd);
  }
  new Label(cmpBasic,SWT.NONE).setText(Messages.getString("String_Node_Str"));
  List keys=null;
  if (getContext().getUIServiceProvider() != null) {
    keys=getContext().getUIServiceProvider().getRegisteredKeys();
  }
  txtTitle=new ExternalizedTextEditorComposite(cmpBasic,SWT.BORDER,-1,-1,keys,getContext().getUIServiceProvider(),getChart().getLegend().getTitle().getCaption().getValue());
{
    GridData gd=new GridData();
    gd.widthHint=200;
    txtTitle.setLayoutData(gd);
    txtTitle.addListener(this);
    txtTitle.setEnabled(getChart().getLegend().getTitle().isVisible());
  }
  btnTitleVisible=new Button(cmpBasic,SWT.CHECK);
{
    btnTitleVisible.setText(Messages.getString("String_Node_Str"));
    btnTitleVisible.addSelectionListener(this);
    btnTitleVisible.setSelection(getChart().getLegend().getTitle().isVisible());
  }
  new Label(cmpBasic,SWT.NONE).setText(Messages.getString("String_Node_Str"));
  cmbBackgroundColor=new FillChooserComposite(cmpBasic,SWT.DROP_DOWN | SWT.READ_ONLY,getChart().getLegend().getClientArea().getBackground(),true,true);
{
    GridData gridData=new GridData();
    gridData.widthHint=200;
    gridData.horizontalSpan=2;
    cmbBackgroundColor.setLayoutData(gridData);
    cmbBackgroundColor.addListener(this);
  }
  if (getChart().getLegend().getItemType() == LegendItemType.SERIES_LITERAL) {
    new Label(cmpBasic,SWT.NONE).setText(Messages.getString("String_Node_Str"));
    btnShowValue=new Button(cmpBasic,SWT.CHECK);
{
      GridData gridData=new GridData();
      gridData.horizontalSpan=2;
      btnShowValue.setLayoutData(gridData);
      btnShowValue.setText(Messages.getString("String_Node_Str"));
      btnShowValue.setToolTipText(Messages.getString("String_Node_Str"));
      btnShowValue.addSelectionListener(this);
      btnShowValue.setSelection(getChart().getLegend().isShowValue());
    }
  }
  createButtonGroup(cmpContent);
}