Questions tagged [jwebbrowser]
24 questions
2
votes
1 answer
how can understand that the DJ native swing jwebbrowser has been completely load the web page?
I want to execute my javascript code in DJ native swing jwebbrowser, but I should wait for the page loading, how can I set listener for it?
I try the following, but after loading it always run the script also it operate…

user3806649
- 1,257
- 2
- 18
- 42
2
votes
2 answers
JWebBrowser NoClassDefFoundError
I am trying to use JWebBrowser and I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/events/MouseListener
at java.lang.Class.getDeclaredConstructors0(Native Method)
at…

Jeel Shah
- 3,274
- 17
- 47
- 68
2
votes
1 answer
Need Jwebbrowser to use the newest browser
We have a Java application showing an embedded web page.
It is done with NativeSwing jwebbrowser, but the embedded browser turns out to be IE7, so we are having issues with styles.
That machine has IE8 installed, so I hoped it to be the default…

Omiod
- 11,285
- 11
- 53
- 59
1
vote
0 answers
Java SWT JD WebBrowser JFrame runs on Windows, but not on Mac
I'm developing a Java application that uses the JD Native Swing WebBrowser control, while the application runs correctly on Windows, it doesn't run correctly on Mac.
As I know, to run SWT Controls, I have to reference the Mac version of swt.jar…

Sergio Bruccoleri
- 19
- 2
1
vote
0 answers
Flash player integration in JWebBrowser
I am using Eclipse SWT and DJ Project to open youtube using java.
CODE:
import chrriis.dj.nativeswing.swtimpl.NativeInterface;
import chrriis.dj.nativeswing.swtimpl.components.JWebBrowser;
import java.awt.BorderLayout;
import…

LIGHT
- 5,604
- 10
- 35
- 78
1
vote
1 answer
DJ native swing jwebbrowser html parsing error
I have an error htmlparsing .
I think the problem stems from the quotation marks DjNative language=javascript error language="javascript" I try all version of Dj native library
[Fatal Error] :2:18: Open quote is expected for attribute "{1}"…

bysheriff
- 38
- 5
1
vote
1 answer
Open a link in JWebBrowser in a new IE window?
I'm using JWebBrowser as a component in Swing application. When I click a link inside JWebBrowser, it's open a new window (window.open() javascript) but wrapped by Swing component. I want it open in IE browser! Is there any attribute of JWebBrowser…

phanhongphucit
- 547
- 9
- 20
0
votes
1 answer
JWebBrowser not working on the other computers
I am trying to use JWebBrowser in my project. Everything works fine in my computer. But when I try to use the executive jar on other computers, nothing happens when I double click. Below is the example code, works fine on my computer but not working…

Turgut Tak
- 43
- 8
0
votes
2 answers
How to update new tab title?
I'm trying to build a web browser in java swing where i added new tab option by adding JTabbedPane. But i want to update my current tab title when i browse another web page or urls etc. I used WebView and WebEngine as html parser. I tried to update…

IAmBlake
- 457
- 6
- 21
0
votes
0 answers
how to display pdf or image file in jframe java with JWebBrowser
I want to display a file (pdf file or image file) in my frame.
I tried to work with JWebBrowser but i have got exceptions.
Here is my code :
JWebBrowser fileBrowser = new JWebBrowser();
fileBrowser.setBarsVisible(false);
…

mohamed.bc
- 47
- 4
- 10
0
votes
1 answer
JWebBrowser DJ Native Swing freeze GUI
This is the example i got from http://djproject.sourceforge.net/ns/documentation/Snippets.html with a little bit modification.
package View;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.event.ItemEvent;
import…

Forrest
- 723
- 2
- 8
- 24
0
votes
1 answer
How can I use DJNativeSwing JWebBrowser as the browser for the jupyter notebook?
I am using chrriis.dj.nativeswing.swtimpl.components.JWebBrowser in my swing application to open web page of a jupyter-notebook. Now my problem is when I click New->Python 3 button JWebBrowser to new a file, it always return the 404 page.
New a…

Kan Liu
- 1
0
votes
1 answer
Java - JWebBrowser can't load new points to map
I added to JPanel JWebBrowser. I load html-file with js that load map and json-file with point coordinates as:
webBrowser = new JWebBrowser();
final JPanel webPanel = new JPanel(new BorderLayout());
webPanel.add(webBrowser,…

Denis
- 503
- 8
- 32
0
votes
0 answers
Java Swing: focus JWebBrowser and press space when button is pressed
I have embedded a youtube video as shown here. I have several videos and when one finishes the next one starts automatically. I achieved this by looking up the video duration and starting a TimerTask.
Now there is one problem left: If the user…

Selphiron
- 897
- 1
- 12
- 30
0
votes
1 answer
Java swing: perform action when video is finished
I have embedded a youtube video as shown here. Now I want something to happen, when the video finishes.
I guess the hard way would be to download the video as an object etc.
Is there an easier way?
Any help would be appreciated.

Selphiron
- 897
- 1
- 12
- 30