Bug 178364 Type-o in Snippet260
Snippet 260 has a type-o: System.out.println("Count not instantiate Browser: " + e.getMessage()); should read: System.out.println("Could not instantiate Browser: " + e.getMessage());
examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet173.java
public void show(WindowEvent event) {
			Browser browser = (Browser)event.widget;
			final Shell shell = browser.getShell();
			
			if (!event.addressBar && !event.menuBar && !event.statusBar && !event.toolBar) {
				System.out.println("Popup blocked.");
				event.display.asyncExec(new Runnable() {
					public void run() {
						shell.close();
					}
				});
				return;
			}
			if (event.location != null) shell.setLocation(event.location);
			if (event.size != null) {
				Point size = event.size;
				shell.setSize(shell.computeSize(size.x, size.y));
			}
			shell.open();
		}
	});
	browser.addCloseWindowListener(new CloseWindowListener() {
		public void close(WindowEvent event) {
			Browser browser = (Browser)event.widget;
			Shell shell = browser.getShell();
			shell.close();
		}
	});
}
}