Program: 70485
Project: 70485
Buggy source:
private void placeComponents(){
  GridLayout glCMPTrigger=new GridLayout();
  glCMPTrigger.numColumns=3;
  glCMPTrigger.horizontalSpacing=16;
  glCMPTrigger.verticalSpacing=5;
  slValues=new StackLayout();
  GridLayout glURL=new GridLayout();
  glURL.marginWidth=2;
  glURL.marginHeight=6;
  glURL.horizontalSpacing=6;
  glURL.numColumns=3;
  GridLayout glParameter=new GridLayout();
  glParameter.marginWidth=2;
  glParameter.marginHeight=6;
  glParameter.horizontalSpacing=6;
  glParameter.numColumns=3;
  this.setLayout(glCMPTrigger);
  Label lblTriggerEvent=new Label(this,SWT.NONE);
  GridData gdLBLTriggerEvent=new GridData();
  gdLBLTriggerEvent.horizontalIndent=4;
  lblTriggerEvent.setLayoutData(gdLBLTriggerEvent);
  lblTriggerEvent.setText(Messages.getString("String_Node_Str"));
  cmbTriggerType=new TextCombo(this,SWT.NONE);
  GridData gdCMBTriggerType=new GridData(GridData.FILL_HORIZONTAL);
  gdCMBTriggerType.horizontalSpan=2;
  cmbTriggerType.setLayoutData(gdCMBTriggerType);
  cmbTriggerType.addListener(TextCombo.SELECTION_EVENT,new Listener(){
    public void handleEvent(    Event event){
      updateTrigger(lastTriggerType);
      updateActionTypeItems();
      Trigger trigger=(Trigger)triggersMap.get(cmbTriggerType.getText());
      if (trigger != null && triggerMatrix.check(trigger)) {
        cmbActionType.setText(getActionText(trigger));
      }
 else {
        cmbActionType.select(0);
      }
      updateUI(trigger);
      switchUI();
      lastTriggerType=cmbTriggerType.getText();
    }
  }
);
  Label lblActionType=new Label(this,SWT.NONE);
  GridData gdLBLActionType=new GridData();
  gdLBLActionType.horizontalIndent=4;
  lblActionType.setLayoutData(gdLBLActionType);
  lblActionType.setText(Messages.getString("String_Node_Str"));
  cmbActionType=new Combo(this,SWT.DROP_DOWN | SWT.READ_ONLY);
  GridData gdCMBActionType=new GridData(GridData.FILL_HORIZONTAL);
  gdCMBActionType.horizontalSpan=2;
  cmbActionType.setLayoutData(gdCMBActionType);
  cmbActionType.addSelectionListener(this);
  cmbActionType.setVisibleItemCount(10);
  Label lblCursorType=new Label(this,SWT.NONE);
  GridData gdLBLCursorType=new GridData();
  gdLBLCursorType.horizontalIndent=4;
  lblCursorType.setLayoutData(gdLBLCursorType);
  lblCursorType.setText(Messages.getString("String_Node_Str"));
  cmbCursorType=new Combo(this,SWT.DROP_DOWN | SWT.READ_ONLY);
  GridData gdCMBCursorType=new GridData(GridData.FILL_HORIZONTAL);
  cmbCursorType.setLayoutData(gdCMBCursorType);
  cmbCursorType.addSelectionListener(this);
  btnCursorImage=new Button(this,SWT.NONE);
  btnCursorImage.setText(Messages.getString("String_Node_Str"));
  GridData gdBTNCursorImage=new GridData();
  btnCursorImage.setLayoutData(gdBTNCursorImage);
  btnCursorImage.addSelectionListener(this);
  btnCursorImage.setEnabled(false);
  grpValue=new Group(this,SWT.NONE);
  GridData gdGRPValue=new GridData(GridData.FILL_BOTH);
  gdGRPValue.horizontalSpan=3;
  grpValue.setLayoutData(gdGRPValue);
  grpValue.setText(Messages.getString("String_Node_Str"));
  grpValue.setLayout(slValues);
  cmpDefault=new Composite(grpValue,SWT.NONE);
  cmpCallback=new Composite(grpValue,SWT.NONE);
  cmpCallback.setLayout(new GridLayout());
  addDescriptionLabel(cmpCallback,1,Messages.getString("String_Node_Str"));
  cmpHighlight=new Composite(grpValue,SWT.NONE);
  cmpHighlight.setLayout(new GridLayout());
  addDescriptionLabel(cmpHighlight,1,Messages.getString("String_Node_Str"));
  cmpVisiblity=new Composite(grpValue,SWT.NONE);
  cmpVisiblity.setLayout(new GridLayout());
  addDescriptionLabel(cmpVisiblity,1,Messages.getString("String_Node_Str"));
  cmpDPVisibility=new Composite(grpValue,SWT.NONE);
  cmpDPVisibility.setLayout(new GridLayout());
  addDescriptionLabel(cmpDPVisibility,1,Messages.getString("String_Node_Str"));
  cmpScript=new Composite(grpValue,SWT.NONE);
  cmpScript.setLayout(new GridLayout(2,false));
  Label lblScript=new Label(cmpScript,SWT.NONE);
{
    GridData gdLBLScript=new GridData(GridData.VERTICAL_ALIGN_BEGINNING);
    lblScript.setLayoutData(gdLBLScript);
    lblScript.setText(Messages.getString("String_Node_Str"));
  }
  txtScript=new Text(cmpScript,SWT.MULTI | SWT.BORDER | SWT.V_SCROLL);
{
    GridData gd=new GridData(GridData.FILL_BOTH);
    gd.verticalSpan=2;
    txtScript.setLayoutData(gd);
    txtScript.setToolTipText(Messages.getString("String_Node_Str"));
  }
  btnScriptExpBuilder=new Button(cmpScript,SWT.PUSH);
{
    GridData gd=new GridData();
    gd.heightHint=20;
    gd.widthHint=20;
    gd.verticalAlignment=GridData.BEGINNING;
    gd.horizontalAlignment=GridData.END;
    btnScriptExpBuilder.setLayoutData(gd);
    btnScriptExpBuilder.setImage(UIHelper.getImage("String_Node_Str"));
    btnScriptExpBuilder.addSelectionListener(this);
    btnScriptExpBuilder.setToolTipText(Messages.getString("String_Node_Str"));
    btnScriptExpBuilder.getImage().setBackground(btnScriptExpBuilder.getBackground());
  }
  cmpTooltip=new Composite(grpValue,SWT.NONE);
  cmpTooltip.setLayout(new GridLayout(3,false));
  Label lblText=new Label(cmpTooltip,SWT.NONE);
  lblText.setText(Messages.getString("String_Node_Str"));
  if (bEnableShowTooltipValue) {
    GridData lblGd=new GridData();
    lblGd.horizontalSpan=3;
    lblText.setLayoutData(lblGd);
    txtTooltipText=new Text(cmpTooltip,SWT.BORDER | SWT.MULTI | SWT.V_SCROLL);
    GridData gdTXTTooltipText=new GridData(GridData.FILL_BOTH);
    gdTXTTooltipText.horizontalSpan=3;
    txtTooltipText.setLayoutData(gdTXTTooltipText);
  }
 else {
    txtTooltipText=new Text(cmpTooltip,SWT.BORDER | SWT.SINGLE);
    txtTooltipText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    btnTooltipExpBuilder=new Button(cmpTooltip,SWT.PUSH);
    GridData gdBTNBuilder=new GridData();
    gdBTNBuilder.heightHint=20;
    gdBTNBuilder.widthHint=20;
    btnTooltipExpBuilder.setLayoutData(gdBTNBuilder);
    btnTooltipExpBuilder.setImage(UIHelper.getImage("String_Node_Str"));
    btnTooltipExpBuilder.addSelectionListener(this);
    btnTooltipExpBuilder.setToolTipText(Messages.getString("String_Node_Str"));
    btnTooltipExpBuilder.getImage().setBackground(btnTooltipExpBuilder.getBackground());
    addDescriptionLabel(cmpTooltip,3,Messages.getString("String_Node_Str"));
  }
  createURLComposite(glURL,glParameter);
  multiHyperlinksComposite=new MultipleHyperlinksComposite(grpValue,SWT.NONE,wizardContext,triggerMatrix,optionalStyle);
  populateLists();
}

Fixed version (ground truth):
private void placeComponents(){
  GridLayout glCMPTrigger=new GridLayout();
  glCMPTrigger.numColumns=3;
  glCMPTrigger.horizontalSpacing=16;
  glCMPTrigger.verticalSpacing=5;
  slValues=new StackLayout();
  GridLayout glURL=new GridLayout();
  glURL.marginWidth=2;
  glURL.marginHeight=6;
  glURL.horizontalSpacing=6;
  glURL.numColumns=3;
  GridLayout glParameter=new GridLayout();
  glParameter.marginWidth=2;
  glParameter.marginHeight=6;
  glParameter.horizontalSpacing=6;
  glParameter.numColumns=3;
  this.setLayout(glCMPTrigger);
  Label lblTriggerEvent=new Label(this,SWT.NONE);
  GridData gdLBLTriggerEvent=new GridData();
  gdLBLTriggerEvent.horizontalIndent=4;
  lblTriggerEvent.setLayoutData(gdLBLTriggerEvent);
  lblTriggerEvent.setText(Messages.getString("String_Node_Str"));
  cmbTriggerType=new TextCombo(this,SWT.NONE);
  GridData gdCMBTriggerType=new GridData(GridData.FILL_HORIZONTAL);
  gdCMBTriggerType.horizontalSpan=2;
  cmbTriggerType.setLayoutData(gdCMBTriggerType);
  cmbTriggerType.addListener(TextCombo.SELECTION_EVENT,new Listener(){
    public void handleEvent(    Event event){
      updateTrigger(lastTriggerType);
      updateActionTypeItems();
      Trigger trigger=(Trigger)triggersMap.get(cmbTriggerType.getText());
      if (trigger != null && triggerMatrix.check(trigger)) {
        cmbActionType.setText(getActionText(trigger));
      }
 else {
        cmbActionType.select(0);
      }
      updateUI(trigger);
      switchUI();
      lastTriggerType=cmbTriggerType.getText();
    }
  }
);
  Label lblActionType=new Label(this,SWT.NONE);
  GridData gdLBLActionType=new GridData();
  gdLBLActionType.horizontalIndent=4;
  lblActionType.setLayoutData(gdLBLActionType);
  lblActionType.setText(Messages.getString("String_Node_Str"));
  cmbActionType=new Combo(this,SWT.DROP_DOWN | SWT.READ_ONLY);
  GridData gdCMBActionType=new GridData(GridData.FILL_HORIZONTAL);
  gdCMBActionType.horizontalSpan=2;
  cmbActionType.setLayoutData(gdCMBActionType);
  cmbActionType.addSelectionListener(this);
  cmbActionType.setVisibleItemCount(10);
  Label lblCursorType=new Label(this,SWT.NONE);
  GridData gdLBLCursorType=new GridData();
  gdLBLCursorType.horizontalIndent=4;
  lblCursorType.setLayoutData(gdLBLCursorType);
  lblCursorType.setText(Messages.getString("String_Node_Str"));
  cmbCursorType=new Combo(this,SWT.DROP_DOWN | SWT.READ_ONLY);
  GridData gdCMBCursorType=new GridData(GridData.FILL_HORIZONTAL);
  cmbCursorType.setLayoutData(gdCMBCursorType);
  cmbCursorType.addSelectionListener(this);
  btnCursorImage=new Button(this,SWT.NONE);
  btnCursorImage.setText(Messages.getString("String_Node_Str"));
  GridData gdBTNCursorImage=new GridData();
  btnCursorImage.setLayoutData(gdBTNCursorImage);
  btnCursorImage.addSelectionListener(this);
  btnCursorImage.setEnabled(false);
  grpValue=new Group(this,SWT.NONE);
  GridData gdGRPValue=new GridData(GridData.FILL_BOTH);
  gdGRPValue.horizontalSpan=3;
  grpValue.setLayoutData(gdGRPValue);
  grpValue.setText(Messages.getString("String_Node_Str"));
  grpValue.setLayout(slValues);
  cmpDefault=new Composite(grpValue,SWT.NONE);
  cmpCallback=new Composite(grpValue,SWT.NONE);
  cmpCallback.setLayout(new GridLayout());
  addDescriptionLabel(cmpCallback,1,Messages.getString("String_Node_Str"));
  cmpHighlight=new Composite(grpValue,SWT.NONE);
  cmpHighlight.setLayout(new GridLayout());
  addDescriptionLabel(cmpHighlight,1,Messages.getString("String_Node_Str"));
  cmpVisiblity=new Composite(grpValue,SWT.NONE);
  cmpVisiblity.setLayout(new GridLayout());
  addDescriptionLabel(cmpVisiblity,1,Messages.getString("String_Node_Str"));
  cmpDPVisibility=new Composite(grpValue,SWT.NONE);
  cmpDPVisibility.setLayout(new GridLayout());
  addDescriptionLabel(cmpDPVisibility,1,Messages.getString("String_Node_Str"));
  cmpScript=new Composite(grpValue,SWT.NONE);
  cmpScript.setLayout(new GridLayout(2,false));
  Label lblScript=new Label(cmpScript,SWT.NONE);
{
    GridData gdLBLScript=new GridData(GridData.VERTICAL_ALIGN_BEGINNING);
    lblScript.setLayoutData(gdLBLScript);
    lblScript.setText(Messages.getString("String_Node_Str"));
  }
  txtScript=new Text(cmpScript,SWT.MULTI | SWT.BORDER | SWT.V_SCROLL| SWT.H_SCROLL);
{
    GridData gd=new GridData(GridData.FILL_BOTH);
    gd.verticalSpan=2;
    txtScript.setLayoutData(gd);
    txtScript.setToolTipText(Messages.getString("String_Node_Str"));
  }
  btnScriptExpBuilder=new Button(cmpScript,SWT.PUSH);
{
    GridData gd=new GridData();
    gd.heightHint=20;
    gd.widthHint=20;
    gd.verticalAlignment=GridData.BEGINNING;
    gd.horizontalAlignment=GridData.END;
    btnScriptExpBuilder.setLayoutData(gd);
    btnScriptExpBuilder.setImage(UIHelper.getImage("String_Node_Str"));
    btnScriptExpBuilder.addSelectionListener(this);
    btnScriptExpBuilder.setToolTipText(Messages.getString("String_Node_Str"));
    btnScriptExpBuilder.getImage().setBackground(btnScriptExpBuilder.getBackground());
  }
  cmpTooltip=new Composite(grpValue,SWT.NONE);
  cmpTooltip.setLayout(new GridLayout(3,false));
  Label lblText=new Label(cmpTooltip,SWT.NONE);
  lblText.setText(Messages.getString("String_Node_Str"));
  if (bEnableShowTooltipValue) {
    GridData lblGd=new GridData();
    lblGd.horizontalSpan=3;
    lblText.setLayoutData(lblGd);
    txtTooltipText=new Text(cmpTooltip,SWT.BORDER | SWT.MULTI | SWT.V_SCROLL);
    GridData gdTXTTooltipText=new GridData(GridData.FILL_BOTH);
    gdTXTTooltipText.horizontalSpan=3;
    txtTooltipText.setLayoutData(gdTXTTooltipText);
  }
 else {
    txtTooltipText=new Text(cmpTooltip,SWT.BORDER | SWT.SINGLE);
    txtTooltipText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    btnTooltipExpBuilder=new Button(cmpTooltip,SWT.PUSH);
    GridData gdBTNBuilder=new GridData();
    gdBTNBuilder.heightHint=20;
    gdBTNBuilder.widthHint=20;
    btnTooltipExpBuilder.setLayoutData(gdBTNBuilder);
    btnTooltipExpBuilder.setImage(UIHelper.getImage("String_Node_Str"));
    btnTooltipExpBuilder.addSelectionListener(this);
    btnTooltipExpBuilder.setToolTipText(Messages.getString("String_Node_Str"));
    btnTooltipExpBuilder.getImage().setBackground(btnTooltipExpBuilder.getBackground());
    addDescriptionLabel(cmpTooltip,3,Messages.getString("String_Node_Str"));
  }
  createURLComposite(glURL,glParameter);
  multiHyperlinksComposite=new MultipleHyperlinksComposite(grpValue,SWT.NONE,wizardContext,triggerMatrix,optionalStyle);
  populateLists();
}