Skip to main content

DJ Native Swing 0.9.4 - Integrate native components in Swing applications

2 replies [Last post]
Joined: 2003-11-17

DJ Native Swing allows to easily integrate native components (Web Browser, Flash Player) into Swing applications, and provides some native utilities to enhance Swing's APIs.

The main focus is the integration of a native Web Browser and Flash Player using a Swing-like API. Nevertheless, it also offers other useful components like a multimedia player (based on VLC) and an HTML editor (using FCKeditor).

All the threading issues and general integration headaches are handled automatically. It also allows to mix lightweight and heavyweight components without major visual problems.

Native Swing:
Webstart Demo:

The Webstart demo is configured to work on Windows. It also works on Linux (GTK, x86/i386) where XULRunner is installed. Note that this demo is part of the release distribution.

It uses SWT under the hood, and thus should work everywhere SWT allows to be placed inside a Swing component. To get the web browser to work on Linux, follow the FAQ on SWT's website (XULRunner is required).
DJ Native Swing is licensed under LGPL and requires Java 5 or later.

Note that it is a sub-project of the DJ Project (, which is a set of tools and libraries to enhance the user experience of Java on the Desktop.

This release fixes several bugs and stability issues, and adds the JVLCPlayer and JHTMLEditor.


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-07-16

Absolutely brilliant! Having worked in a "Flash" house before and trying to force it play nice with other technologies, as a Java developer, I've prayed to the Java gods for just such a gift.

Can't wait to take it for a test drive!

Joined: 2003-11-17


If you try it and have any questions, or if you have any suggestions for future versions, feel free to contact me by e-mail (the best and fastest way to reach me!)