jxbrowser

JXBrowser - What is globalX, globalY, windowX, windowY in relation to x, y for forwarding mouse events?

不羁的心 提交于 2019-12-11 15:36:44
问题 I can find no explanation on what these are actually supposed to do. There are examples on: https://jxbrowser.support.teamdev.com/support/solutions/articles/9000102480-forwarding-mouse-events but 629 and 373 ? I can't figure out what those values are for. I can get the same behaviour with any value for those. What if you one also sets windowX and windowY ? What would they do to the result click? I am looking to be able to click and move on a google map. Is that possible? 回答1: The x and y

JXBrowser java.ipc.external=true VM argument

末鹿安然 提交于 2019-12-10 15:34:11
问题 I'm wondering what exactly this argument do? and know about potencial downsides that this argument could cause. I tried searching this VM argument on internet but I couldn't find anything of it. 回答1: By default, on macOS JxBrowser initializes Chromium engine in Java process. It's required to support heavyweight rendering mode when Chromium window is embedded into Java frame. In macOS native window from one process (Chromium) cannot be embedded into a native window from another process (Java).

JxBrowser HEAVYWEIGHT Dispose on WINDOW_CLOSE_REQUEST

╄→尐↘猪︶ㄣ 提交于 2019-12-07 12:31:42
问题 I'm currently playing around with the Evaluation License for JxBrowser 6.2. I'm creating the BrowserView as follows: Browser browser = new Browser(BrowserType.HEAVYWEIGHT); BrowserView browser_view = new BrowserView(browser); I'm attaching the BrowserView component as follows: stage.setScene(new Scene(browser_view)); If the Browser is configured to operate in LIGHTWEIGHT mode, I'm able to execute: browser_view.getBrowser().dispose(); Platform.exit(); However, if the Browser is configured to

JxBrowser takes huge RAM

﹥>﹥吖頭↗ 提交于 2019-12-06 12:42:37
I am using jxbrowser to make an automation test application. After run a lot of automation tests(login to a webpage, click some button, perform some UI interaction), I reallize that the jxbroser-chromium.exe took so huge RAM, Even after doing some automation tests, I load "about:blank" page Note that I use only one instance of Browser & BrowserView Is there any way to clean & clear RAM when using jxbrowser? JxBrowser is based on Chromium engine. Chromium engine is running in the jxbrowser-chromium.exe process. JxBrowser doesn't control the memory in this process. All memory management is done

Java程序&Chromium浏览器集成控件JxBrowser v7.4上新!支持ARM体系结构

旧巷老猫 提交于 2019-12-06 10:09:13
JxBrowser( 点击下载 ) 是将基于Chromium的浏览器与Java应用程序集成,以处理和显示HTML5、CSS3、JavaScript、Flash等。 近日, JxBrowser v7.4发布啦,新增支持嵌入来自Netflix、Amazon Prime、Spotify和其他使用DRM解密的平台的视频和音频内容,同时允许将JxBrowser嵌入用于ARM设备的应用程序中,修复多项Bug。以下是具体的更新内容。 ARM JxBrowser 7.4在Linux 64位上支持ARM体系结构。已在以下环境中进行了测试: Raspberry Pi 2(900MHz四核ARM Cortex-A7 CPU)和AWS(AWS Graviton处理器); Ubuntu 16.04 LTS和18.04 LTS 64位; JDK 8 64位(JRE没有提供GUI),OpenJDK 11(Swing + JavaFX)。 专有功能 不需要使用启用的专有编解码器就可以请求播放H.264,MP4和AAC格式的单独* c版本。可以通过API启用专有编解码器,默认情况下将其禁用,如下所示: Engine engine = Engine.newInstance( EngineOptions.newBuilder(renderingMode) .enableProprietaryFeature

JAVA浏览器控件JxBrowser v7.3上线!最新API文档打包带走!

一世执手 提交于 2019-12-05 13:32:48
JxBrowser ( 点击下载 )是将基于Chromium的浏览器与Java应用程序集成,以处理和显示HTML5,CSS3,JavaScript,Flash等。 近日, JxBrowser v7.3发布上线,支持最新macOS Catalina,支持Java13,支持浏览器发起的URL请求。小编为大家整理了v7.3版的API文档,包括使用的API及其相关描述。 com.teamdev.jxbrowser 包含所有用于创建和使用引擎和浏览器的类。 com.teamdev.jxbrowser.annotation 此包包含用于Java代码的公共注释类型。 com.teamdev.jxbrowser.browser 这个包提供了允许您使用浏览器的类。 com.teamdev.jxbrowser.browser.callback 这个包提供了允许您使用浏览器回调的类。 com.teamdev.jxbrowser.browser.callback.input 鼠标和键盘输入回调。 com.teamdev.jxbrowser.browser.event 这个包提供了允许您处理浏览器事件的类。 com.teamdev.jxbrowser.cache 包含允许使用缓存的类。 com.teamdev.jxbrowser.callback 包含所有回调都必须扩展的公共接口。 com.teamdev

Java程序&Chromium浏览器集成控件JxBrowser v7.4上新!支持ARM体系结构

久未见 提交于 2019-12-04 16:43:21
JxBrowser( 点击下载 ) 是将基于Chromium的浏览器与Java应用程序集成,以处理和显示HTML5、CSS3、JavaScript、Flash等。 近日, JxBrowser v7.4发布啦,新增支持嵌入来自Netflix、Amazon Prime、Spotify和其他使用DRM解密的平台的视频和音频内容,同时允许将JxBrowser嵌入用于ARM设备的应用程序中,修复多项Bug。以下是具体的更新内容。 ARM JxBrowser 7.4在Linux 64位上支持ARM体系结构。已在以下环境中进行了测试: Raspberry Pi 2(900MHz四核ARM Cortex-A7 CPU)和AWS(AWS Graviton处理器); Ubuntu 16.04 LTS和18.04 LTS 64位; JDK 8 64位(JRE没有提供GUI),OpenJDK 11(Swing + JavaFX)。 专有功能 不需要使用启用的专有编解码器就可以请求播放H.264,MP4和AAC格式的单独* c版本。可以通过API启用专有编解码器,默认情况下将其禁用,如下所示: Engine engine = Engine.newInstance( EngineOptions.newBuilder(renderingMode) .enableProprietaryFeature

JAVA浏览器控件JxBrowser v7.3上线!最新API文档打包带走!

两盒软妹~` 提交于 2019-12-04 08:32:31
JxBrowser ( 点击下载 )是将基于Chromium的浏览器与Java应用程序集成,以处理和显示HTML5,CSS3,JavaScript,Flash等。 近日, JxBrowser v7.3发布上线,支持最新macOS Catalina,支持Java13,支持浏览器发起的URL请求。小编为大家整理了v7.3版的API文档,包括使用的API及其相关描述。 com.teamdev.jxbrowser 包含所有用于创建和使用引擎和浏览器的类。 com.teamdev.jxbrowser.annotation 此包包含用于Java代码的公共注释类型。 com.teamdev.jxbrowser.browser 这个包提供了允许您使用浏览器的类。 com.teamdev.jxbrowser.browser.callback 这个包提供了允许您使用浏览器回调的类。 com.teamdev.jxbrowser.browser.callback.input 鼠标和键盘输入回调。 com.teamdev.jxbrowser.browser.event 这个包提供了允许您处理浏览器事件的类。 com.teamdev.jxbrowser.cache 包含允许使用缓存的类。 com.teamdev.jxbrowser.callback 包含所有回调都必须扩展的公共接口。 com.teamdev

JavaFX: Display PDF in WebView

孤者浪人 提交于 2019-12-02 01:55:52
I need to display a PDF inside the default WebView of JavaFX. I assumed, that i would easily be able to do that like this. import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.web.WebEngine; import javafx.scene.web.WebView; import javafx.stage.Stage; public class ShowPdfTest extends Application { public static void main(String[] args) { launch(); } @Override public void start(Stage primaryStage) throws Exception { WebView webView = new WebView(); WebEngine engine = webView.getEngine(); Scene scene = new Scene(webView); primaryStage.setScene(scene); primaryStage

Focus problems with JDK7 and native components

╄→尐↘猪︶ㄣ 提交于 2019-11-30 14:30:34
We have a swing application which embeds a IE ocx component via JNIWrapper. After switching from jdk6 to jdk7 we start noticing focus problems. When the embedded IE shows a web page with text fields (e.g. the google search page) than the trouble starts: The Browser 'catches' the focus, so u can start typing in the search text field. Every key typed goes to the IE ocx. But swing seems to ignore this focus change. Even if i change the focus to a swing text field (and swing shows the blinking input cursor), all typed keys goes to the IE ocx The only way to 'fix' the focus is to deacitvate and