data.grabExcessVerticalSpace = true;
try {
browser = new Browser(parent, SWT.NO_BACKGROUND);
browser.setLayoutData(data);
browser.setBackground(parent.getBackground());
browser.addOpenWindowListener(new OpenWindowListener() {
public void open(WindowEvent event) {
event.required = true; // Cancel opening of new windows
}
});
browser.addLocationListener(new LocationListener() {