在Java中嵌入Gecko / WebKit [英] Embedding Gecko/WebKit in Java

查看:134
本文介绍了在Java中嵌入Gecko / WebKit的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将Gecko,WebKit或其他嵌入Java的webbrowser作为Swing / AWT控件。
我正在寻找与JRex不同的东西或 JWebPane

I'd like to have Gecko, WebKit, or another webbrowser embedded in Java as a Swing/AWT control. I'm looking for something different than JRex or JWebPane.

推荐答案

您可以使用 JxBrowser
它具有一个Swing / JavaFX组件,它包含 Chromium 引擎,同时提供丰富的API和通过GPU实现开箱即用的硬件加速。

You could use JxBrowser. It features a Swing/JavaFX component that wraps the Chromium engine while providing a rich API and out-of-the-box hardware-acceleration through the GPU.

不幸的是,自4.0版以来,他们已经放弃了对其他引擎(如Gecko和WebKit)的支持。 br>
请注意,除开源项目外,它不是免费的。

Unfortunately, they've dropped support for other engines (like Gecko and WebKit) since 4.0 version.
Note that it's not free, except for open-source projects.

这篇关于在Java中嵌入Gecko / WebKit的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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