Program: 146229
Project: 146229
Buggy source:
private Composite getMenuParametersComposite(){
  FormToolkit toolkit=this.getManagedForm().getToolkit();
  Composite composite=toolkit.createComposite(paramsClientComposite,SWT.BORDER);
  composite.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,1,1));
  composite.setLayout(new GridLayout(2,false));
  Label menuParentIDLabel=toolkit.createLabel(composite,"String_Node_Str",SWT.NULL);
  menuParentIDLabel.setLayoutData(new GridData(SWT.BEGINNING,SWT.CENTER,false,true,1,1));
  menuParentIDCombo=new Combo(composite,SWT.READ_ONLY | SWT.DROP_DOWN | SWT.SINGLE);
  GridData gridData=new GridData(SWT.BEGINNING,SWT.FILL,true,true,1,1);
  gridData.widthHint=150;
  menuParentIDCombo.setLayoutData(gridData);
  menuParentIDCombo.addSelectionListener(new SelectionListener(){
    public void widgetDefaultSelected(    SelectionEvent e){
    }
    public void widgetSelected(    SelectionEvent e){
      if (menuParametersRefreshing)       return;
      commitMenuParameters();
    }
  }
);
  Label menuPositionLabel=toolkit.createLabel(composite,"String_Node_Str",SWT.NULL);
  menuPositionLabel.setLayoutData(new GridData(SWT.BEGINNING,SWT.CENTER,false,true,1,1));
  menuPositionCombo=new Combo(composite,SWT.READ_ONLY | SWT.DROP_DOWN | SWT.SINGLE);
  menuPositionCombo.setLayoutData(new GridData(SWT.BEGINNING,SWT.FILL,false,false,1,1));
  for (int i=1; i <= 20; i++)   menuPositionCombo.add("String_Node_Str" + i);
  menuPositionCombo.addSelectionListener(new SelectionListener(){
    public void widgetDefaultSelected(    SelectionEvent e){
    }
    public void widgetSelected(    SelectionEvent e){
      if (menuParametersRefreshing)       return;
      commitMenuParameters();
    }
  }
);
  return composite;
}

Fixed version (ground truth):
private Composite getMenuParametersComposite(){
  FormToolkit toolkit=this.getManagedForm().getToolkit();
  Composite composite=toolkit.createComposite(paramsClientComposite,SWT.BORDER);
  composite.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,1,1));
  composite.setLayout(new GridLayout(2,false));
  Label menuParentIDLabel=toolkit.createLabel(composite,"String_Node_Str",SWT.NULL);
  menuParentIDLabel.setLayoutData(new GridData(SWT.BEGINNING,SWT.CENTER,false,true,1,1));
  menuParentIDCombo=new Combo(composite,SWT.READ_ONLY | SWT.DROP_DOWN | SWT.SINGLE);
  GridData gridData=new GridData(SWT.BEGINNING,SWT.FILL,true,true,1,1);
  gridData.widthHint=150;
  menuParentIDCombo.setLayoutData(gridData);
  menuParentIDCombo.addSelectionListener(new SelectionListener(){
    public void widgetDefaultSelected(    SelectionEvent e){
    }
    public void widgetSelected(    SelectionEvent e){
      if (menuParametersRefreshing)       return;
      menuPositionCombo.select(0);
      commitMenuParameters();
    }
  }
);
  Label menuPositionLabel=toolkit.createLabel(composite,"String_Node_Str",SWT.NULL);
  menuPositionLabel.setLayoutData(new GridData(SWT.BEGINNING,SWT.CENTER,false,true,1,1));
  menuPositionCombo=new Combo(composite,SWT.READ_ONLY | SWT.DROP_DOWN | SWT.SINGLE);
  menuPositionCombo.setLayoutData(new GridData(SWT.BEGINNING,SWT.FILL,false,false,1,1));
  for (int i=1; i <= 20; i++)   menuPositionCombo.add("String_Node_Str" + i);
  menuPositionCombo.addSelectionListener(new SelectionListener(){
    public void widgetDefaultSelected(    SelectionEvent e){
    }
    public void widgetSelected(    SelectionEvent e){
      if (menuParametersRefreshing)       return;
      commitMenuParameters();
    }
  }
);
  return composite;
}