Program: 7079
Project: 7079
Buggy source:
public BrowserButtonPanel(Composite parent,int style){
  super(parent,style);
  icons=new Icons();
  IPreferenceStore preferenceStore=Activator.getDefault().getPreferenceStore();
  GridLayout gridLayout=new GridLayout(5,true);
  gridLayout.horizontalSpacing=0;
  gridLayout.makeColumnsEqualWidth=true;
  gridLayout.marginWidth=0;
  setLayout(gridLayout);
  GridData browserLayoutData=new GridData();
  browserLayoutData.grabExcessHorizontalSpace=true;
  browserLayoutData.horizontalAlignment=SWT.FILL;
  setLayoutData(browserLayoutData);
  GridData buttonGridData=new GridData();
  buttonGridData.horizontalAlignment=SWT.CENTER;
  buttonGridData.grabExcessHorizontalSpace=true;
  buttonGridData.minimumWidth=42;
  ffIcon=new Button(this,SWT.FLAT);
  ffIcon.setImage(icons.getFirefoxDisabledIcon());
  ffIcon.addSelectionListener(new BrowserLaunchCapableSelectionListener(preferenceStore.getString(WorkbenchPreferencePage.FIREFOX_PATH)));
  ffIcon.setLayoutData(buttonGridData);
  chromeIcon=new Button(this,SWT.FLAT);
  chromeIcon.setImage(icons.getChromeDisabledIcon());
  chromeIcon.addSelectionListener(new BrowserLaunchCapableSelectionListener(preferenceStore.getString(WorkbenchPreferencePage.CHROME_PATH)));
  chromeIcon.setLayoutData(buttonGridData);
  safariIcon=new Button(this,SWT.FLAT);
  safariIcon.setImage(icons.getSafariDisabledIcon());
  safariIcon.addSelectionListener(new BrowserLaunchCapableSelectionListener(preferenceStore.getString(WorkbenchPreferencePage.SAFARI_PATH)));
  safariIcon.setLayoutData(buttonGridData);
  ieIcon=new Button(this,SWT.FLAT);
  ieIcon.setImage(icons.getIEDisabledIcon());
  ieIcon.addSelectionListener(new BrowserLaunchCapableSelectionListener(preferenceStore.getString(WorkbenchPreferencePage.IE_PATH)));
  ieIcon.setLayoutData(buttonGridData);
  operaIcon=new Button(this,SWT.FLAT);
  operaIcon.setImage(icons.getOperaDisabledIcon());
  operaIcon.addSelectionListener(new BrowserLaunchCapableSelectionListener(preferenceStore.getString(WorkbenchPreferencePage.OPERA_PATH)));
  operaIcon.setLayoutData(buttonGridData);
}

Fixed version (ground truth):
public BrowserButtonPanel(Composite parent,int style){
  super(parent,style);
  icons=new Icons();
  IPreferenceStore preferenceStore=Activator.getDefault().getPreferenceStore();
  GridLayout gridLayout=new GridLayout(5,true);
  gridLayout.horizontalSpacing=0;
  gridLayout.makeColumnsEqualWidth=true;
  gridLayout.marginWidth=0;
  setLayout(gridLayout);
  GridData browserLayoutData=new GridData();
  browserLayoutData.grabExcessHorizontalSpace=true;
  browserLayoutData.horizontalAlignment=SWT.FILL;
  setLayoutData(browserLayoutData);
  GridData buttonGridData=new GridData();
  buttonGridData.horizontalAlignment=SWT.CENTER;
  buttonGridData.grabExcessHorizontalSpace=true;
  buttonGridData.minimumWidth=42;
  ffIcon=new Button(this,SWT.FLAT);
  ffIcon.setImage(icons.getFirefoxDisabledIcon());
  ffIcon.addSelectionListener(new BrowserLaunchCapableSelectionListener(preferenceStore,WorkbenchPreferencePage.FIREFOX_PATH));
  ffIcon.setLayoutData(buttonGridData);
  chromeIcon=new Button(this,SWT.FLAT);
  chromeIcon.setImage(icons.getChromeDisabledIcon());
  chromeIcon.addSelectionListener(new BrowserLaunchCapableSelectionListener(preferenceStore,WorkbenchPreferencePage.CHROME_PATH));
  chromeIcon.setLayoutData(buttonGridData);
  safariIcon=new Button(this,SWT.FLAT);
  safariIcon.setImage(icons.getSafariDisabledIcon());
  safariIcon.addSelectionListener(new BrowserLaunchCapableSelectionListener(preferenceStore,WorkbenchPreferencePage.SAFARI_PATH));
  safariIcon.setLayoutData(buttonGridData);
  ieIcon=new Button(this,SWT.FLAT);
  ieIcon.setImage(icons.getIEDisabledIcon());
  ieIcon.addSelectionListener(new BrowserLaunchCapableSelectionListener(preferenceStore,WorkbenchPreferencePage.IE_PATH));
  ieIcon.setLayoutData(buttonGridData);
  operaIcon=new Button(this,SWT.FLAT);
  operaIcon.setImage(icons.getOperaDisabledIcon());
  operaIcon.addSelectionListener(new BrowserLaunchCapableSelectionListener(preferenceStore,WorkbenchPreferencePage.OPERA_PATH));
  operaIcon.setLayoutData(buttonGridData);
}