Questions tagged [djnativeswing]

The DJ Native Swing library allows an easy integration of some native components into Swing applications, and provides some native utilities to enhance Swing's APIs.

The DJ Native Swing library allows an easy integration of some native components into Swing applications, and provides some native utilities to enhance Swing's APIs.

The key components are a rich web browser, a flash player, an HTML editor, a media player and a syntax highlighter, all with a Swing-like API.

27 questions
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
0
votes
0 answers

Start youtube Video with JWebBrowser

I have embedded a youtube video as shown here in my java application. But I want the video to start without clicking on play. It should start asap. I looked for something like webBrowser.play() or webbrowser.click() but was not succesful. Any help…
Selphiron
  • 897
  • 1
  • 12
  • 30
0
votes
1 answer

DJ Native Web browser not opening GoogleMap html with js while Chrome does

I'm making an app with GoogleMap inside DJ Native webBrowser component. I load page as a string using webBrowser.setHTMLContent(String). HTML file contains JavaScript which add markers to map. I made simple html file with google-maps-api functions.…
0
votes
1 answer

JFlashPlayer: how to generate ActionScript event

Using the DJNativeSwing JFlashPlayer, I need to intercept in Java a simple event generated by flash / actionscript. Adding the Java listener seems obvious: JFLashPlayer flashPlayer = new…
Tom
  • 1,375
  • 3
  • 24
  • 45
0
votes
2 answers

DJ Native Swing Browser for Java

I have use a browser that is DJ enabled Browser of Swing. I have jars for the Windows and Linux that is swt.jars and but which jar will I need to run same program for the MAC OS using Java?
Kishan Bheemajiyani
  • 3,429
  • 5
  • 34
  • 68
0
votes
1 answer

How to add jBrowser to the frame after the start?

I have a Starter class, which runs my application: public class Starter { public static Panel createContent() { Panel contentPane = new Panel(); final JWebBrowser webBrowser = new JWebBrowser(); …
Hiron123
  • 35
  • 1
  • 8
0
votes
1 answer

Swing DJnative Swing Example in java

I have java Swing Dj Native application and i tried to run it in ubuntu and its Running but when i tried same in windows 64 bit its giving error so what error is that can any body suggest me solution? Error log in windows. NativeSwing[1]: Exception…
Kishan Bheemajiyani
  • 3,429
  • 5
  • 34
  • 68
0
votes
0 answers

Pragmatically changing url DJnativeswing

Im using DJ native swing to make a web browser. After my browser gathers certain information I would like it to change to another website. Does anyone know how to do this? I've tried: package…
0
votes
1 answer

How to understand document completed using Dj Native Jwebbrowser?

I didnt find any document completed method on JWebbrowser object. String git="git(10);" webbrowser.executeJavaScript(git); String html=webbrowser.getHTMLContent(); this html is include previous page html.Bu I want to take new page. I'm waiting…
bysheriff
  • 38
  • 5
0
votes
0 answers

How to implement DJ Native Swing JWebBrowser in a JPanel?

I'm working with netbeans and trying to implement DJ Native Swing JWebBrowser inside a panel but I cant do that. My Gui is like that:I have buttons on the left which has jpanel for each button(every button i press show me a different jpanel)I want…
user1864229
  • 53
  • 2
  • 4
  • 11
-1
votes
1 answer

how to drive DJ NativeSwing thread separately from my own thread

Nowadays, I am working on a java swing application using DJ NativeSwing as my embed browser to do something automatic work. The scenario of my application is that a user click start button and the embed browser auto click some position of the…
AnoyLi
  • 3
  • 4
1
2