SWT浏览器导航器版本 [英] SWT Browser navigator version

查看:109
本文介绍了SWT浏览器导航器版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即使我的Windows使用的是IE的最新版本, SWT浏览器仍在版本 5.0 上运行(是,五个)。至少这就是简单的 alert(navigator.appVersion)这样说的。

Even if my Windows has the latest version of IE, the SWT Browser still runs on version 5.0 (yes, FIVE). At least that's what a simple alert(navigator.appVersion) says so.


  • System.setProperty( org.eclipse.swt.browser.IEVersion, 8000); 不起作用

  • -Dorg.eclipse.swt.browser.IEVersion 8000 不起作用

  • 我不一定需要v10.0才能工作,但是在至少是DECENT版本

  • SWT.MOZILLA SWT.WEBKIT 这个问题。 XULRunner让人头疼

  • System.setProperty("org.eclipse.swt.browser.IEVersion", "8000"); does not work
  • -Dorg.eclipse.swt.browser.IEVersion 8000 does not work
  • I don't necessarily need v10.0 to work, but at least a DECENT version
  • SWT.MOZILLA and SWT.WEBKIT are out of the question. XULRunner gives headaches

SWT v3.8.1

编辑:

实际上,现在我考虑了...

Actually, now that I think about it...

5.0 (compatible; MSIE 10.0; Windows NT 6.2; Win64; x64; Trident/6.0; MDDRJS)
//                    ^ is this the browser version? Because the HTML and CSS
//                      functionalities beg to differ.


推荐答案

由于Java 8即将来临,因此SWT 浏览器是肘部的痛苦,我向所有读此的人推荐JavaFX。

Since Java 8 is around the corner, and the SWT Browser is a pain in the ... elbow, I do recommend JavaFX to anyone that reads this.

JavaFX WebEngine 非常令人愉悦,您可以使用 FXCanvas <嵌入到SWT 复合中。 / code>来自JavaFX的类。

The JavaFX WebEngine is delightful, and you can embed it in a SWT Composite using the FXCanvas class from JavaFX.

如果您仍在使用JavaFX 2.2,请注意一些偷偷摸摸的错误

If you're still using JavaFX 2.2, beware of some sneaky bugs.

干杯。

这篇关于SWT浏览器导航器版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆