Program: 71572
Project: 71572
Buggy source:
private void createMainBrowser(){
  if (BrowserManager.getInstance().isEmbeddedBrowserPresent()) {
    if (browser != null && !browser.isDisposed()) {
      browser.dispose();
    }
    browser=new Browser(mainPane,SWT.NONE);
    GridData gd=new GridData(GridData.FILL_BOTH);
    gd.horizontalSpan=1;
    browser.setLayoutData(gd);
    browser.addProgressListener(new ProgressListener(){
      public void changed(      ProgressEvent event){
      }
      public void completed(      ProgressEvent event){
        progressBar.setVisible(false);
      }
    }
);
    browser.addOpenWindowListener(new OpenWindowListener(){
      public void open(      final WindowEvent event){
        final Shell shell=new Shell();
        shell.setLayout(new FillLayout());
        Browser browser=new Browser(shell,SWT.NONE);
        initialize(Display.getCurrent(),browser);
        event.browser=browser;
        shell.open();
      }
    }
);
    browser.addCloseWindowListener(new CloseWindowListener(){
      public void close(      WindowEvent event){
        Display.getCurrent().asyncExec(new Runnable(){
          public void run(){
            createMainBrowser();
            mainPane.layout(true);
          }
        }
);
      }
    }
);
  }
 else {
    Composite control=new Composite(mainPane,SWT.NONE);
    GridData gd=new GridData(GridData.FILL_BOTH);
    gd.horizontalSpan=1;
    control.setLayoutData(gd);
    bParameter.setEnabled(false);
    progressBar.setVisible(false);
    control.setBackground(Display.getDefault().getSystemColor(SWT.COLOR_WHITE));
    control.setLayout(new GridLayout());
    Label message=new Label(control,SWT.NONE);
    message.setText(Messages.getString("String_Node_Str"));
    message.setBackground(Display.getDefault().getSystemColor(SWT.COLOR_WHITE));
  }
}

Fixed version (ground truth):
private void createMainBrowser(){
  if (BrowserManager.getInstance().isEmbeddedBrowserPresent()) {
    if (browser != null && !browser.isDisposed()) {
      browser.dispose();
    }
    browser=new Browser(mainPane,SWT.NONE);
    GridData gd=new GridData(GridData.FILL_BOTH);
    gd.horizontalSpan=1;
    browser.setLayoutData(gd);
    browser.addProgressListener(new ProgressListener(){
      public void changed(      ProgressEvent event){
      }
      public void completed(      ProgressEvent event){
        progressBar.setVisible(false);
      }
    }
);
    browser.addOpenWindowListener(new OpenWindowListener(){
      public void open(      final WindowEvent event){
        final Shell shell=UIUtil.createDefaultShell();
        shell.setLayout(new FillLayout());
        Browser browser=new Browser(shell,SWT.NONE);
        initialize(Display.getCurrent(),browser);
        event.browser=browser;
        shell.open();
      }
    }
);
    browser.addCloseWindowListener(new CloseWindowListener(){
      public void close(      WindowEvent event){
        Display.getCurrent().asyncExec(new Runnable(){
          public void run(){
            createMainBrowser();
            mainPane.layout(true);
          }
        }
);
      }
    }
);
  }
 else {
    Composite control=new Composite(mainPane,SWT.NONE);
    GridData gd=new GridData(GridData.FILL_BOTH);
    gd.horizontalSpan=1;
    control.setLayoutData(gd);
    bParameter.setEnabled(false);
    progressBar.setVisible(false);
    control.setBackground(Display.getDefault().getSystemColor(SWT.COLOR_WHITE));
    control.setLayout(new GridLayout());
    Label message=new Label(control,SWT.NONE);
    message.setText(Messages.getString("String_Node_Str"));
    message.setBackground(Display.getDefault().getSystemColor(SWT.COLOR_WHITE));
  }
}