Community
Participate
Working Groups
The browser widget in SWT accepts the style flags MOZILLA and WEBKIT. If the runtime environment is not suitable for running either of the browsers an exception is thrown. In a similary way, RWT could provide these flags and raise an exception if they are specified.
In case of SWT.MOZILLA and SWT.WEBKIT style flags now Browser throws an SWTError in the same way as in SWT. Fixed in CVS HEAD.
I can't find the place in the SWT source code where the exception is thrown. Can you give me a pointer?
Look at Browser ctor, BrowserFactory().createWebBrowser. The SWTError is thrown there.
Got it. In GTK, there is no error thrown in this method, but it's hidden in the Mozilla/Webkit/XXX #create() method. Thanks.