Program: 66208
Project: 66208
Buggy source:
public void createControl(Composite parent){
  ChartUIUtil.bindHelp(parent,ChartHelpContextIds.SUBTASK_TITLE);
  init();
  cmpContent=new Composite(parent,SWT.NONE);
{
    cmpContent.setLayout(new GridLayout());
    GridData gd=new GridData(GridData.FILL_BOTH);
    cmpContent.setLayoutData(gd);
  }
  Composite cmpBasic=new Composite(cmpContent,SWT.NONE);
{
    cmpBasic.setLayout(new GridLayout(4,false));
    GridData gd=new GridData(GridData.FILL_BOTH);
    cmpBasic.setLayoutData(gd);
  }
  Label lblTitle=new Label(cmpBasic,SWT.NONE);
{
    lblTitle.setText(Messages.getString("String_Node_Str"));
  }
  Composite titleComp=new Composite(cmpBasic,SWT.NONE);
  GridLayout gl=new GridLayout();
  gl.numColumns=2;
  gl.marginLeft=0;
  gl.marginRight=0;
  gl.marginTop=0;
  gl.marginBottom=0;
  titleComp.setLayout(gl);
  btnTitleContentAuto=new Button(titleComp,SWT.CHECK);
  btnTitleContentAuto.setSelection(getChart().getTitle().getLabel().getCaption().getValue() == null);
  btnTitleContentAuto.addSelectionListener(this);
  List<String> keys=null;
  if (getContext().getUIServiceProvider() != null) {
    keys=getContext().getUIServiceProvider().getRegisteredKeys();
  }
  txtTitle=new ExternalizedTextEditorComposite(titleComp,SWT.BORDER,-1,-1,keys,getContext().getUIServiceProvider(),getTitleText());
{
    GridData gdTXTTitle=new GridData();
    gdTXTTitle.widthHint=200;
    txtTitle.setLayoutData(gdTXTTitle);
    txtTitle.setEnabled(isTitleEnabled());
    txtTitle.addListener(this);
  }
  btnVisible=new TristateCheckbox(cmpBasic,SWT.NONE);
  btnVisible.setText(Messages.getString("String_Node_Str"));
  GridData gd=new GridData();
  btnVisible.setLayoutData(gd);
  btnVisible.setSelectionState(getChart().getTitle().isSetVisible() ? (getChart().getTitle().isVisible() ? TristateCheckbox.STATE_SELECTED : TristateCheckbox.STATE_UNSELECTED) : TristateCheckbox.STATE_GRAYED);
  btnVisible.addSelectionListener(this);
  btnAutoTitle=new TristateCheckbox(cmpBasic,SWT.NONE);
  btnAutoTitle.setText(Messages.getString("String_Node_Str"));
  gd=new GridData();
  btnAutoTitle.setLayoutData(gd);
  btnAutoTitle.setSelectionState(getChart().getTitle().isSetAuto() ? (getChart().getTitle().isAuto() ? TristateCheckbox.STATE_SELECTED : TristateCheckbox.STATE_UNSELECTED) : TristateCheckbox.STATE_GRAYED);
  btnAutoTitle.setEnabled(isAutoEnabled());
  boolean autoTitleVisible=getContext().getUIFactory().createUIHelper().isDefaultTitleSupported();
  btnAutoTitle.setVisible(autoTitleVisible);
  btnAutoTitle.addSelectionListener(this);
  Label lblFont=new Label(cmpBasic,SWT.NONE);
  lblFont.setText(Messages.getString("String_Node_Str"));
  fdcFont=new FontDefinitionComposite(cmpBasic,SWT.NONE,getContext(),getChart().getTitle().getLabel().getCaption().getFont(),getChart().getTitle().getLabel().getCaption().getColor(),true);
  GridData gdFDCFont=new GridData();
  gdFDCFont.widthHint=220;
  gdFDCFont.grabExcessVerticalSpace=false;
  fdcFont.setLayoutData(gdFDCFont);
  fdcFont.addListener(this);
  createButtonGroup(cmpContent);
  updateUIState(btnVisible.getSelectionState() == TristateCheckbox.STATE_SELECTED);
}

Fixed version (ground truth):
public void createControl(Composite parent){
  ChartUIUtil.bindHelp(parent,ChartHelpContextIds.SUBTASK_TITLE);
  init();
  cmpContent=new Composite(parent,SWT.NONE);
{
    cmpContent.setLayout(new GridLayout());
    GridData gd=new GridData(GridData.FILL_BOTH);
    cmpContent.setLayoutData(gd);
  }
  Composite cmpBasic=new Composite(cmpContent,SWT.NONE);
{
    cmpBasic.setLayout(new GridLayout(4,false));
    GridData gd=new GridData(GridData.FILL_BOTH);
    cmpBasic.setLayoutData(gd);
  }
  Label lblTitle=new Label(cmpBasic,SWT.NONE);
{
    lblTitle.setText(Messages.getString("String_Node_Str"));
  }
  List<String> keys=null;
  if (getContext().getUIServiceProvider() != null) {
    keys=getContext().getUIServiceProvider().getRegisteredKeys();
  }
  txtTitle=new ExternalizedTextEditorComposite(cmpBasic,SWT.BORDER,-1,-1,keys,getContext().getUIServiceProvider(),getTitleText());
{
    GridData gdTXTTitle=new GridData();
    gdTXTTitle.widthHint=200;
    txtTitle.setLayoutData(gdTXTTitle);
    txtTitle.setEnabled(isTitleEnabled());
    txtTitle.addListener(this);
  }
  btnVisible=new TristateCheckbox(cmpBasic,SWT.NONE);
  btnVisible.setText(Messages.getString("String_Node_Str"));
  GridData gd=new GridData();
  btnVisible.setLayoutData(gd);
  btnVisible.setSelectionState(getChart().getTitle().isSetVisible() ? (getChart().getTitle().isVisible() ? TristateCheckbox.STATE_SELECTED : TristateCheckbox.STATE_UNSELECTED) : TristateCheckbox.STATE_GRAYED);
  btnVisible.addSelectionListener(this);
  boolean dynamicTitleVisible=getContext().getUIFactory().createUIHelper().isDefaultTitleSupported();
  if (dynamicTitleVisible) {
    btnAutoTitle=new TristateCheckbox(cmpBasic,SWT.NONE);
    btnAutoTitle.setText(Messages.getString("String_Node_Str"));
    gd=new GridData();
    btnAutoTitle.setLayoutData(gd);
    btnAutoTitle.setSelectionState(getChart().getTitle().isSetAuto() ? (getChart().getTitle().isAuto() ? TristateCheckbox.STATE_SELECTED : TristateCheckbox.STATE_UNSELECTED) : TristateCheckbox.STATE_GRAYED);
    btnAutoTitle.setEnabled(isAutoEnabled());
    btnAutoTitle.setVisible(dynamicTitleVisible);
    btnAutoTitle.addSelectionListener(this);
  }
 else {
    btnTitleContentAuto=new Button(cmpBasic,SWT.CHECK);
    btnTitleContentAuto.setText(Messages.getString("String_Node_Str"));
    btnTitleContentAuto.setSelection(getChart().getTitle().getLabel().getCaption().getValue() == null);
    btnTitleContentAuto.addSelectionListener(this);
  }
  Label lblFont=new Label(cmpBasic,SWT.NONE);
  lblFont.setText(Messages.getString("String_Node_Str"));
  fdcFont=new FontDefinitionComposite(cmpBasic,SWT.NONE,getContext(),getChart().getTitle().getLabel().getCaption().getFont(),getChart().getTitle().getLabel().getCaption().getColor(),true);
  GridData gdFDCFont=new GridData();
  gdFDCFont.widthHint=220;
  gdFDCFont.grabExcessVerticalSpace=false;
  fdcFont.setLayoutData(gdFDCFont);
  fdcFont.addListener(this);
  createButtonGroup(cmpContent);
  updateUIState(btnVisible.getSelectionState() == TristateCheckbox.STATE_SELECTED);
}