Posted by chrriis
on May 16, 2008 at 1:17 PM PDT
DJ Native Swing allows to easily integrate some native components 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: http://djproject.sourceforge.net/ns
Webstart Demo: http://djproject.sourceforge.net/ns/DJNativeSwingDemo.jnlp
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 may be 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 ( http://djproject.sourceforge.net ), which is a set of tools and libraries to enhance the user experience of Java on the Desktop.
This release completely changes the API to make the framework more consistent and easy to use, there is now some Javadoc, and of course bug fixes and improvements.