Program: 66576
Project: 66576
Buggy source:
protected Control createDialogArea(Composite parent){
  Composite area=(Composite)super.createDialogArea(parent);
  Composite contents=new Composite(area,SWT.NONE);
  contents.setLayoutData(new GridData(GridData.FILL_BOTH));
  contents.setLayout(new GridLayout());
  this.setTitle(ADVANCED_DIALOG_TITLE);
  this.setMessage(ADVANCED_DIALOG_MSG);
  getShell().setText(ADVANCED_DIALOG_TITLE);
  applyDialogFont(contents);
  initializeDialogUnits(area);
  if (disabledContentBidiFormat != null && disabledMetadataBidiFormat != null && !BidiConstants.EMPTY_STR.equals(disabledContentBidiFormat) && !BidiConstants.EMPTY_STR.equals(disabledMetadataBidiFormat)) {
    disableTransform=true;
  }
  Composite bidiArea=new Composite(area,SWT.NONE);
  GridLayout bidiGridLayout=new GridLayout();
  bidiGridLayout.numColumns=4;
  bidiGridLayout.marginHeight=10;
  bidiGridLayout.marginWidth=5;
  bidiGridLayout.horizontalSpacing=5;
  bidiGridLayout.verticalSpacing=10;
  bidiGridLayout.makeColumnsEqualWidth=true;
  bidiArea.setLayout(bidiGridLayout);
  bidiMetadataFormatFrame=BidiGUIUtility.INSTANCE.addBiDiFormatFrame(bidiArea,EXTERNAL_SYSTEM_METADATA_BIDI_FORMAT,disableTransform ? disabledMetadataBidiFormat : metadataBidiFormat);
  bidiContentFormatFrame=BidiGUIUtility.INSTANCE.addBiDiFormatFrame(bidiArea,EXTERNAL_SYSTEM_CONTENT_BIDI_FORMAT,disableTransform ? disabledContentBidiFormat : contentBidiFormat);
  disableTransformButton=new Button(bidiArea,SWT.CHECK);
  disableTransformButton.setText(DISABLE_BIDI_CHECKBOX_TEXT);
  disableTransformButton.setSelection(disableTransform);
  if (disableTransform) {
    handleDisableTransform();
  }
  disableTransformButton.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      disableTransform=!disableTransform;
      handleDisableTransform();
    }
  }
);
  Utility.setSystemHelp(area,IHelpConstants.CONEXT_ID_PREFERENCE_DATASET_JDBC_BIDI);
  return area;
}

Fixed version (ground truth):
protected Control createDialogArea(Composite parent){
  Composite area=(Composite)super.createDialogArea(parent);
  Composite contents=new Composite(area,SWT.NONE);
  contents.setLayoutData(new GridData(GridData.FILL_BOTH));
  contents.setLayout(new GridLayout());
  this.setTitle(ADVANCED_DIALOG_TITLE);
  this.setMessage(ADVANCED_DIALOG_MSG);
  getShell().setText(ADVANCED_DIALOG_TITLE);
  applyDialogFont(contents);
  initializeDialogUnits(area);
  if (disabledContentBidiFormat != null && disabledMetadataBidiFormat != null && !BidiConstants.EMPTY_STR.equals(disabledContentBidiFormat) && !BidiConstants.EMPTY_STR.equals(disabledMetadataBidiFormat)) {
    disableTransform=true;
  }
  Composite bidiArea=new Composite(area,SWT.NONE);
  GridLayout bidiGridLayout=new GridLayout();
  bidiGridLayout.numColumns=4;
  bidiGridLayout.marginHeight=10;
  bidiGridLayout.marginWidth=5;
  bidiGridLayout.horizontalSpacing=5;
  bidiGridLayout.verticalSpacing=10;
  bidiGridLayout.makeColumnsEqualWidth=true;
  bidiArea.setLayout(bidiGridLayout);
  bidiMetadataFormatFrame=BidiGUIUtility.INSTANCE.addBiDiFormatFrame(bidiArea,EXTERNAL_SYSTEM_METADATA_BIDI_FORMAT,disableTransform ? disabledMetadataBidiFormat : metadataBidiFormat);
  bidiContentFormatFrame=BidiGUIUtility.INSTANCE.addBiDiFormatFrame(bidiArea,EXTERNAL_SYSTEM_CONTENT_BIDI_FORMAT,disableTransform ? disabledContentBidiFormat : contentBidiFormat);
  disableTransformButton=new Button(bidiArea,SWT.CHECK);
  disableTransformButton.setText(DISABLE_BIDI_CHECKBOX_TEXT);
  disableTransformButton.setSelection(disableTransform);
  if (disableTransform) {
    handleDisableTransform();
  }
  disableTransformButton.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      disableTransform=!disableTransform;
      handleDisableTransform();
    }
  }
);
  Utility.setSystemHelp(area,IHelpConstants.CONEXT_ID_DATASOURCE_JDBC_BIDI_SETTING);
  return area;
}