Bug 139528 [Browser] Error message should be improved
I got the following error in my log. The message is probably allright except for the trailing null. eclipse.buildId=I20060428-1315 java.fullversion=J2RE 1.4.2 IBM build cxia32142-20050609 (JIT enabled: jitc) BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86 -debug -consolelog Warning Mon May 01 12:39:50 EDT 2006 Internal browser is not available: null
bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/WebBrowserUtil.java
*/
	public static void openMessage(String message) {
		Display d = Display.getCurrent();
		if (d == null)
			d = Display.getDefault();
		Shell shell = d.getActiveShell();
		MessageDialog.openInformation(shell, Messages.searchingTaskName,
				message);
	}
	/**
	 * Returns whether it should be possible to use the internal browser or not,
	 * based on whether or not the org.eclipse.swt.Browser class can be
	 * found/loaded. If it can it means is is supported on the platform in which
	 * this plugin is running. If not, disable the ability to use the internal
	 * browser. This method checks to see if it can new up a new
	 * ExternalBrowserInstance. If the SWT widget can not be bound to the
	 * particular operating system it throws an SWTException. We catch that and
	 * set a boolean flag which represents whether or not we were successfully
	 * able to create a ExternalBrowserInstance instance or not. If not, don't
	 * bother adding the Internal Web ExternalBrowserInstance that uses this
	 * widget. Designed to be attemped only once and the flag set used
	 * throughout.
	 * 
	 * @return boolean
	 */
	public static boolean canUseInternalWebBrowser() {
		
		if (isInternalBrowserOperational != null)
			return isInternalBrowserOperational.booleanValue();