com.jniwrapper.win32.ie.Browser class is unable to render the agraphs and animation

I am using com.jniwrapper.win32.ie.Browser class for opening an URL in a JFrame. Url is opened but some report graphs are not rendered.

When I open the same URL in Internet Explorer, graphs are rendered properly. Please help me on this. Is there anything extra required to render graphs in swing components?

-------------Problems Reply------------

This could be due to the version differences between the installed IE and the wrapper you're using. com.jniwrapper.win32.ie.Browser is wrapping WebBrowser control which is not the same as the full version of IE installed on your box.

By default, WebBrowser emulates IE7. This can be controlled with FEATURE_BROWSER_EMULATION registry settings. Add your application name ie AppName.exe with value 9000 (0x2328) under that registry key.

If you have control over the web application you're trying to render you can update it with the following meta tag:

<meta http-equiv="X-UA-Compatible" content="IE=9">

to enable IE9 features.

Also, you can try Expression Web SuperPreview to see side by side how a particular page/site gets rendered in various version of IE.

Category:java Views:0 Time:2012-03-02

Related post

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.118 (s). 11 q(s)