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/Snippet159.java
}
		browser.addTitleListener(new TitleListener() {
			public void changed(TitleEvent event) {
				System.out.println("TitleEvent: "+event.title);
				shell.setText(event.title);
			}
		});
		browser.addProgressListener(new ProgressListener() {
			public void changed(ProgressEvent event) {
			}
			public void completed(ProgressEvent event) {
				
				boolean result = browser.execute("document.title='"+newTitle+"'");
				if (!result) {
					
					System.out.println("Script was not executed.");
				}
			}
		});
		
		browser.setUrl("http://www.eclipse.org");
		shell.open();
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch())
				display.sleep();
		}
		display.dispose();
	}
}