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
3
votes
4 answers

Enabling Google Chrome Frame on DJ Native Swing

I have Google Chrome Frame installed on my Windows XP + IE8 machine. When I navigate to chrome frame enabled page using IE8, it works. But when I navigate to the site through a Java application that uses DJ Native Swing, the add-on is not…
nilgun
  • 10,460
  • 4
  • 46
  • 57
2
votes
0 answers

Not able to run full screen you tube video in DJ Native Browser

I want to run full screen you tube video in Swing Native browse, But i am not able to run. i am not getting any exception. in my native browser screen only black color cross button is display on the top left corner of my jFarme. in my 32 bit windows…
Ankit Sood
  • 257
  • 3
  • 5
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
0 answers

DJ Native Swing browser with 64 bit SWT and JVM

I have created a java application embedding the native swing browser. It's running perfectly fine on 32 bit JVM on windows. I want to make it run on 64 bit JVM windows. For the same purpose, I have downloaded a 64 bit SWT jar and some xul runners…
Nidhin Joseph
  • 1,461
  • 3
  • 15
  • 32
1
vote
2 answers

Legally including open-source library in program

I am considering using this library in my closed-source java program. I want to distribute this program as a single JARfile. How can I include this library in my JARfile, and how can I give credit legally? I am using eclipse IDE and am willing to…
Ethan McTague
  • 2,236
  • 3
  • 21
  • 53
1
vote
1 answer

how to call this code from gui(jframe)

i wanna to call youtubeviewer from a window by actionlistener public class YouTubeViewer { public YouTubeViewer(){ NativeInterface.open(); SwingUtilities.invokeLater(new Runnable() { public void run() { JFrame frame =…
1
vote
1 answer

When i am using DJ browser in my swing code in ubuntu facing issue with libwebkitgtk

This is the sample code i'm using for Poc purpose......but i'm not able to go forward in linux environment(if i dont install libwebkitgtk package ) but this code is working fine in windows..but in linux libwebkitgtk is required. public class…
1
vote
2 answers

DJ Native Swing Browser in Java Swing For mac

I have a Java application made with Swing and I have used one DJ Native Swing Browser. When I tried to use that on OS X its throwing a NoClassDefFoundError all the time even though I have added swt.jar. Can some one please tell me what I am doing…
Kishan Bheemajiyani
  • 3,429
  • 5
  • 34
  • 68
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

Manipulate Link in DJ Native Web Browser

public static JComponent createContent() { JPanel contentPane = new JPanel(new BorderLayout()); JPanel webBrowserPanel = new JPanel(new BorderLayout()); webBrowserPanel.setBorder(BorderFactory.createTitledBorder("Native Web…
rahul bilove
  • 75
  • 1
  • 1
  • 8
0
votes
0 answers

Does not find modules, but they are

Please tell me, sincerely I can’t understand why it doesn’t find the module Compiling errors occur: error: module not found: DJNativeSwing.SWT error: module not found:DJNativeSwing I added them to IntelliJ like this: File -> Project Structure ->…
Dmitriy
  • 375
  • 1
  • 18
0
votes
1 answer

Problem using Java DJNativeSwing library on a 32 bit platform

I have a problem regarding the use of DJ NativeSwing library on a 32 bit JVM: the library works well on 64 bit JVM on a 32 bit JVM I receive the following error: Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT…
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…
1
2