}
private static WebBrowser getBrowser() {
if (browser == null) {
try {
WebBrowserFactory factory = WebBrowserFactory.newInstance();
browser = factory.createBrowser();
} catch (UnsupportedPlatformException ex) {
String msg = ApplicationResources.STRINGS.getString("TextComponentFactory.WebBrowser.NotSupported"); //$NON-NLS-1$
ErrorLog.attention(UrlTextFieldDecorator.class, msg, ex);
return null;
}