Program: 78021
Project: 78021
Buggy source:
private void switchToDynamic(){
  Composite composite=new Composite(valueArea,SWT.NONE);
  GridData gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=2;
  composite.setLayoutData(gd);
  composite.setLayout(UIUtil.createGridLayoutWithoutMargin(3,false));
  createLabel(composite,LABEL_SELECT_DATA_SET,maxStrLengthProperty);
  dataSetChooser=new Combo(composite,SWT.BORDER | SWT.READ_ONLY);
  dataSetChooser.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  dataSetChooser.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      refreshColumns(false);
    }
  }
);
  createDataSet=new Button(composite,SWT.PUSH);
  createDataSet.setText(BUTTON_CREATE_DATA_SET);
  setButtonLayoutData(createDataSet);
  createDataSet.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      new NewDataSetAction().run();
      refreshDataSets();
    }
  }
);
  createLabel(composite,LABEL_SELECT_VALUE_COLUMN,maxStrLengthProperty);
  columnChooser=new Combo(composite,SWT.BORDER | SWT.READ_ONLY);
  columnChooser.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  columnChooser.addSelectionListener(new SelectionAdapter(){
    public void widgetDefaultSelected(    SelectionEvent e){
      updateButtons();
    }
  }
);
  createLabel(composite,null,maxStrLengthProperty);
  createLabel(composite,LABEL_SELECT_DISPLAY_TEXT,maxStrLengthProperty);
  displayTextChooser=new Combo(composite,SWT.BORDER | SWT.READ_ONLY);
  displayTextChooser.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  createLabel(composite,null,maxStrLengthProperty);
  createDefaultEditor();
  listLimit.setEditable(true);
}

Fixed version (ground truth):
private void switchToDynamic(){
  Composite composite=new Composite(valueArea,SWT.NONE);
  GridData gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=2;
  composite.setLayoutData(gd);
  composite.setLayout(UIUtil.createGridLayoutWithoutMargin(3,false));
  createLabel(composite,LABEL_SELECT_DATA_SET);
  dataSetChooser=new Combo(composite,SWT.BORDER | SWT.READ_ONLY);
  dataSetChooser.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  dataSetChooser.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      refreshColumns(false);
    }
  }
);
  createDataSet=new Button(composite,SWT.PUSH);
  createDataSet.setText(BUTTON_CREATE_DATA_SET);
  setButtonLayoutData(createDataSet);
  createDataSet.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      new NewDataSetAction().run();
      refreshDataSets();
    }
  }
);
  createLabel(composite,LABEL_SELECT_VALUE_COLUMN);
  columnChooser=new Combo(composite,SWT.BORDER | SWT.READ_ONLY);
  columnChooser.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  columnChooser.addSelectionListener(new SelectionAdapter(){
    public void widgetDefaultSelected(    SelectionEvent e){
      updateButtons();
    }
  }
);
  createLabel(composite,null);
  createLabel(composite,LABEL_SELECT_DISPLAY_TEXT);
  displayTextChooser=new Combo(composite,SWT.BORDER | SWT.READ_ONLY);
  displayTextChooser.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  createLabel(composite,null);
  createDefaultEditor();
  listLimit.setEditable(true);
}