Program: 65741
Project: 65741
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=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));
  }
}

Fixed version (ground truth):
private void createMainBrowser(){
  if (BrowserManager.getInstance().isEmbeddedBrowserPresent()) {
    if (browser != null && !browser.isDisposed()) {
      browser.dispose();
    }
    if (Constants.OS_LINUX.equalsIgnoreCase(Platform.getOS())) {
      browser=new Browser(mainPane,SWT.MOZILLA);
    }
 else {
      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;
        if (Constants.OS_LINUX.equalsIgnoreCase(Platform.getOS())) {
          browser=new Browser(shell,SWT.MOZILLA);
        }
 else {
          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));
  }
}