Program: 127364
Project: 127364
Buggy source:
/** 
 * add Field to Group File Viewer.
 * @param parent
 * @param form
 * @param width
 * @param height
 */
private void addGroupFileViewer(final Composite parent,final int width,int height){
  tabFolder=new CTabFolder(parent,SWT.BORDER);
  tabFolder.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  previewTabItem=new CTabItem(tabFolder,SWT.BORDER);
  previewTabItem.setText(Messages.getString("String_Node_Str"));
  outputTabItem=new CTabItem(tabFolder,SWT.BORDER);
  outputTabItem.setText(Messages.getString("String_Node_Str"));
  Composite previewComposite=Form.startNewGridLayout(tabFolder,1);
  outputComposite=Form.startNewGridLayout(tabFolder,1);
  Composite compositeDelimitedFilePreviewButton=Form.startNewDimensionnedGridLayout(previewComposite,4,width,HEIGHT_BUTTON_PIXEL);
  height=height - HEIGHT_BUTTON_PIXEL - 15;
  previewButton=new Button(compositeDelimitedFilePreviewButton,SWT.NONE);
  previewButton.setText(Messages.getString("String_Node_Str"));
  previewButton.setSize(WIDTH_BUTTON_PIXEL,HEIGHT_BUTTON_PIXEL);
  addadvancedWSDLExplorer(compositeDelimitedFilePreviewButton);
  new Label(compositeDelimitedFilePreviewButton,SWT.NONE);
  previewInformationLabel=new Label(compositeDelimitedFilePreviewButton,SWT.NONE);
  previewInformationLabel.setText("String_Node_Str");
  previewInformationLabel.setForeground(getDisplay().getSystemColor(SWT.COLOR_BLUE));
  Composite compositeDelimitedFilePreview=Form.startNewDimensionnedGridLayout(previewComposite,1,width,height);
  wsdlPreview=new ShadowProcessPreview(compositeDelimitedFilePreview,null,width,height - 10);
  wsdlPreview.newTablePreview();
  previewTabItem.setControl(previewComposite);
  outputTabItem.setControl(outputComposite);
  tabFolder.setSelection(previewTabItem);
  tabFolder.pack();
}

Fixed version (ground truth):
/** 
 * add Field to Group File Viewer.
 * @param parent
 * @param form
 * @param width
 * @param height
 */
private void addGroupFileViewer(final Composite parent,final int width,int height){
  tabFolder=new CTabFolder(parent,SWT.BORDER);
  tabFolder.setLayoutData(new GridData(GridData.FILL_BOTH));
  previewTabItem=new CTabItem(tabFolder,SWT.BORDER);
  previewTabItem.setText(Messages.getString("String_Node_Str"));
  outputTabItem=new CTabItem(tabFolder,SWT.BORDER);
  outputTabItem.setText(Messages.getString("String_Node_Str"));
  Composite previewComposite=Form.startNewGridLayout(tabFolder,1);
  outputComposite=Form.startNewGridLayout(tabFolder,1);
  Composite compositeDelimitedFilePreviewButton=Form.startNewDimensionnedGridLayout(previewComposite,4,width,HEIGHT_BUTTON_PIXEL);
  height=height - HEIGHT_BUTTON_PIXEL - 15;
  previewButton=new Button(compositeDelimitedFilePreviewButton,SWT.NONE);
  previewButton.setText(Messages.getString("String_Node_Str"));
  previewButton.setSize(WIDTH_BUTTON_PIXEL,HEIGHT_BUTTON_PIXEL);
  addadvancedWSDLExplorer(compositeDelimitedFilePreviewButton);
  new Label(compositeDelimitedFilePreviewButton,SWT.NONE);
  previewInformationLabel=new Label(compositeDelimitedFilePreviewButton,SWT.NONE);
  previewInformationLabel.setText("String_Node_Str");
  previewInformationLabel.setForeground(getDisplay().getSystemColor(SWT.COLOR_BLUE));
  Composite compositeDelimitedFilePreview=Form.startNewDimensionnedGridLayout(previewComposite,1,width,height);
  wsdlPreview=new ShadowProcessPreview(compositeDelimitedFilePreview,null,width,height - 10);
  wsdlPreview.newTablePreview();
  previewTabItem.setControl(previewComposite);
  outputTabItem.setControl(outputComposite);
  tabFolder.setSelection(previewTabItem);
  tabFolder.pack();
}