We have a Java application showing an embedded web page. It is done with NativeSwing jwebbrowser, but the embedded browser turns out to be IE7, so we are having issues with styles. That machine has IE8 installed, so I hoped it to be the default browser.
Is this a limitation of the library? Is there a way to select the browser version?
Thanks.
After some hours work, I managed to run the jwebbrowser with the latest version of Internet Explorer installed on the system ( IE9 for me ).
The issue is related with the SWT version and described in the The SWT FAQ. For me including the swt.jar from this link and DJNativeSwing.jar and DJNativeSwing-SWT.jar from this link and running the following code
ends up showing:
You are using Internet Explorer Basic Info Browser Name: Internet Explorer Browser Version: 9.0 Your Platform: Windows ... (You may need to refresh once or twice to avoid caching)