Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » HTML 5 in SWT Browser
HTML 5 in SWT Browser [message #883835] Sat, 09 June 2012 14:47 Go to next message
Maqsood Ahmed is currently offline Maqsood AhmedFriend
Messages: 41
Registered: September 2010
Member
Hi,

Will HTML5 be supported in SWT Browser?

are there any other alternatives that i can use?

Thanks,
Mak

Re: HTML 5 in SWT Browser [message #884302 is a reply to message #883835] Sun, 10 June 2012 19:00 Go to previous messageGo to next message
Simon Scholz is currently offline Simon ScholzFriend
Messages: 73
Registered: April 2012
Location: Germany
Member
Hello Mak,

I guess you´re using a windows OS for your RCP client with the swt browser.

By passing SWT.NONE to the constructor of the swt browser, it will use Microsoft´s Internet Explorer version you have currently installed on your system.
Unfortunately IE 9(the newest stable version) does not support every HTML 5 feature yet.

As an alternative you could pass SWT.MOZILLA to the swt browser´s constructor and use MOZILLA instead of the IE.

To make this work you´ll need to run a xulrunner (developer.mozilla.org/en/Getting_started_with_XULRunner)

To define that xulrunner properly for the swt browser see this : www.eclipse.org/swt/faq.php#specifyxulrunner

Best regards,

Simon
Re: HTML 5 in SWT Browser [message #885117 is a reply to message #884302] Tue, 12 June 2012 13:45 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
One other thing to note is that if you're using Eclipse/SWT 3.6.x or
older then your SWT.NONE-style Browser on Windows will run in IE7
emulated mode, even if you have a newer IE version installed. As of
Eclipse/SWT 3.7.x you will get the full capabilities of your installed
IE version.

Grant


On 6/10/2012 3:00 PM, Simon SSC wrote:
> Hello Mak,
>
> I guess you´re using a windows OS for your RCP client with the swt browser.
>
> By passing SWT.NONE to the constructor of the swt browser, it will use
> Microsoft´s Internet Explorer version you have currently installed on
> your system.
> Unfortunately IE 9(the newest stable version) does not support every
> HTML 5 feature yet.
>
> As an alternative you could pass SWT.MOZILLA to the swt browser´s
> constructor and use MOZILLA instead of the IE.
>
> To make this work you´ll need to run a xulrunner
> (developer.mozilla.org/en/Getting_started_with_XULRunner)
>
> To define that xulrunner properly for the swt browser see this :
> www.eclipse.org/swt/faq.php#specifyxulrunner
>
> Best regards,
>
> Simon
Previous Topic:Use actionSets or extensions of menus, commands
Next Topic:Can't find IDEWorkbenchAdvisor
Goto Forum:
  


Current Time: Tue Mar 19 03:22:10 GMT 2024

Powered by FUDForum. Page generated in 0.01809 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top