Can't get/edit content of JWebBrowser
Web Browser, Flash Player, HTML editor, Media player for Swing and SWT
Brought to you by:
chrriis
Hi,
I can load pages with JWebBrowser and have a graphical result but it return nothing with getHTMLContent and don't execute command with executeJavascript.
I tried with the Demo and it don't work neither
I use a Linux x64 (with needed swt.jar) and absolutly don't know what I can share to help, almost everything is in demo but just do nothing
Hi,
For Linux, you need to follow some instructions to get a runtime.
The SWT FAQ has some information:
https://www.eclipse.org/swt/faq.php#browserlinux
You might have to set some system properties like
nativeswing.webbrowser.runtimeornativeswing.webbrowser.xulrunner.home(you can refer toSystemProperties-SWT.txt)Hope this helps,
-Christopher
Oops, I just realized I might have misunderstood: when you say you have a graphical result, you mean that you see the application but the web browser content is always empty, or you actually see some content HTML?
-Christopher