Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Diffrent SWT browser IE versions during runtime(Diffrent SWT browser IE versions during runtime)
Diffrent SWT browser IE versions during runtime [message #1309326] Tue, 22 April 2014 12:23
Olga Shimko is currently offline Olga Shimko
Messages: 3
Registered: April 2014
Junior Member
Hi,

I want to create SWT IE browsers with different versions during program execution. I know firstly we take IE version from HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Internet Explorer \ Version. Then we look if there is a parameter HKEY_CURRENT_USER \ Software \ Microsoft \ Internet Explorer \ Main \ FeatureControl \ FEATURE_BROWSER_EMULATION \ java.exe (javaw.exe). If not, we create it with the above value. How can I make SWT browser to take actual value from the registry HKEY_CURRENT_USER \ Software \ Microsoft \ Internet Explorer \ Main \ FeatureControl \ FEATURE_BROWSER_EMULATION \ java.exe (I change it via jna). If I changed the value in the registry during runtime, SWT doesn't swap it.

And I don't understand how SWT understands that it need to emulate the version from the registry.

I'm using jdk 1.6, windows 7 x64, IE 11, SWT 4.3.

Thanks.
Previous Topic:Java 7 update 55 Mac broken
Next Topic:Aligning TextLayout to the text baseline
Goto Forum:
  


Current Time: Wed Jul 23 12:10:59 EDT 2014

Powered by FUDForum. Page generated in 0.06733 seconds