Program: 58933
Project: 58933
Buggy source:
@Override public void initViewSWTComposite(Composite parentComposite){
  Composite composite=new Composite(parentComposite,SWT.NONE);
  GridLayout layout=new GridLayout(1,false);
  composite.setLayout(layout);
  composite.setLayoutData(new GridData(GridData.FILL,GridData.FILL,true,true));
  Composite browserBarComposite=new Composite(composite,SWT.NONE);
  browserBarComposite.setLayout(new GridLayout(2,false));
  ToolBar toolbar=new ToolBar(browserBarComposite,SWT.NONE);
  GridData data=new GridData(GridData.FILL_VERTICAL);
  ResourceLoader resourceLoader=GeneralManager.get().getResourceLoader();
  goButton=new ToolItem(toolbar,SWT.PUSH);
  goButton.setImage(resourceLoader.getImage(parentComposite.getDisplay(),EIconTextures.BROWSER_REFRESH_IMAGE.getFileName()));
  backButton=new ToolItem(toolbar,SWT.PUSH);
  backButton.setImage(resourceLoader.getImage(parentComposite.getDisplay(),EIconTextures.BROWSER_BACK_IMAGE.getFileName()));
  stopButton=new ToolItem(toolbar,SWT.PUSH);
  stopButton.setImage(resourceLoader.getImage(parentComposite.getDisplay(),EIconTextures.BROWSER_STOP_IMAGE.getFileName()));
  homeButton=new ToolItem(toolbar,SWT.PUSH);
  homeButton.setImage(resourceLoader.getImage(parentComposite.getDisplay(),EIconTextures.BROWSER_HOME_IMAGE.getFileName()));
  textURL=new Text(browserBarComposite,SWT.BORDER);
  if (checkInternetConnection())   textURL.setText(sUrl);
  data=new GridData(GridData.FILL_HORIZONTAL);
  data.heightHint=15;
  textURL.setLayoutData(data);
  data=new GridData();
  data.horizontalAlignment=GridData.FILL;
  data.grabExcessHorizontalSpace=true;
  data.heightHint=45;
  browserBarComposite.setLayoutData(data);
  Listener listener=new Listener(){
    public void handleEvent(    Event event){
      if (!checkInternetConnection())       return;
      ToolItem item=(ToolItem)event.widget;
      if (item.equals(backButton)) {
        browser.back();
      }
 else       if (item.equals(stopButton)) {
        browser.stop();
      }
 else       if (item.equals(goButton)) {
        sUrl=textURL.getText();
      }
 else       if (item.equals(homeButton)) {
        sUrl="String_Node_Str";
        textURL.setText(CALEYDO_HOME);
        browser.setUrl(sUrl);
      }
    }
  }
;
  goButton.addListener(SWT.Selection,listener);
  backButton.addListener(SWT.Selection,listener);
  stopButton.addListener(SWT.Selection,listener);
  homeButton.addListener(SWT.Selection,listener);
  textURL.addListener(SWT.DefaultSelection,new Listener(){
    public void handleEvent(    Event e){
      sUrl=textURL.getText();
      drawView();
    }
  }
);
  parentComposite.getDisplay().addFilter(SWT.FocusIn,new Listener(){
    public void handleEvent(    Event event){
      if (!event.widget.getClass().equals(this.getClass()))       return;
    }
  }
);
  browser=new Browser(composite,SWT.BORDER);
  idExtractionLocationListener=new IDExtractionLocationListener(browser,iUniqueID,-1);
  browser.addLocationListener(idExtractionLocationListener);
  data=new GridData();
  browser.setLayoutData(new GridData(GridData.FILL,GridData.FILL,true,true));
}

Fixed version (ground truth):
@Override public void initViewSWTComposite(Composite parentComposite){
  Composite composite=new Composite(parentComposite,SWT.NONE);
  GridLayout layout=new GridLayout(1,false);
  composite.setLayout(layout);
  composite.setLayoutData(new GridData(GridData.FILL,GridData.FILL,true,true));
  Composite browserBarComposite=new Composite(composite,SWT.NONE);
  browserBarComposite.setLayout(new GridLayout(2,false));
  ToolBar toolbar=new ToolBar(browserBarComposite,SWT.NONE);
  GridData data=new GridData(GridData.FILL_VERTICAL);
  ResourceLoader resourceLoader=GeneralManager.get().getResourceLoader();
  goButton=new ToolItem(toolbar,SWT.PUSH);
  goButton.setImage(resourceLoader.getImage(parentComposite.getDisplay(),EIconTextures.BROWSER_REFRESH_IMAGE.getFileName()));
  backButton=new ToolItem(toolbar,SWT.PUSH);
  backButton.setImage(resourceLoader.getImage(parentComposite.getDisplay(),EIconTextures.BROWSER_BACK_IMAGE.getFileName()));
  stopButton=new ToolItem(toolbar,SWT.PUSH);
  stopButton.setImage(resourceLoader.getImage(parentComposite.getDisplay(),EIconTextures.BROWSER_STOP_IMAGE.getFileName()));
  homeButton=new ToolItem(toolbar,SWT.PUSH);
  homeButton.setImage(resourceLoader.getImage(parentComposite.getDisplay(),EIconTextures.BROWSER_HOME_IMAGE.getFileName()));
  textURL=new Text(browserBarComposite,SWT.BORDER);
  if (checkInternetConnection())   textURL.setText(sUrl);
  data=new GridData(GridData.FILL_HORIZONTAL);
  data.heightHint=15;
  textURL.setLayoutData(data);
  data=new GridData();
  data.horizontalAlignment=GridData.FILL;
  data.grabExcessHorizontalSpace=true;
  data.heightHint=45;
  browserBarComposite.setLayoutData(data);
  Listener listener=new Listener(){
    public void handleEvent(    Event event){
      if (!checkInternetConnection())       return;
      ToolItem item=(ToolItem)event.widget;
      if (item.equals(backButton)) {
        browser.back();
      }
 else       if (item.equals(stopButton)) {
        browser.stop();
      }
 else       if (item.equals(goButton)) {
        sUrl=textURL.getText();
      }
 else       if (item.equals(homeButton)) {
        sUrl="String_Node_Str";
        textURL.setText(CALEYDO_HOME);
        browser.setUrl(sUrl);
      }
    }
  }
;
  goButton.addListener(SWT.Selection,listener);
  backButton.addListener(SWT.Selection,listener);
  stopButton.addListener(SWT.Selection,listener);
  homeButton.addListener(SWT.Selection,listener);
  textURL.addListener(SWT.DefaultSelection,new Listener(){
    public void handleEvent(    Event e){
      sUrl=textURL.getText();
      drawView();
    }
  }
);
  parentComposite.getDisplay().addFilter(SWT.FocusIn,new Listener(){
    public void handleEvent(    Event event){
      if (!event.widget.getClass().equals(this.getClass()))       return;
    }
  }
);
  browser=new Browser(composite,SWT.BORDER);
  browser.addProgressListener(new ProgressListener(){
    @Override public void completed(    ProgressEvent event){
      GeneralManager.get().getViewGLCanvasManager().getActiveSWTView().setFocus();
    }
    @Override public void changed(    ProgressEvent event){
      GeneralManager.get().getViewGLCanvasManager().getActiveSWTView().setFocus();
    }
  }
);
  idExtractionLocationListener=new IDExtractionLocationListener(browser,iUniqueID,-1);
  browser.addLocationListener(idExtractionLocationListener);
  data=new GridData();
  browser.setLayoutData(new GridData(GridData.FILL,GridData.FILL,true,true));
}