Christopher has posted 9 posts at DZone. You can read more from them at their website. View Full User Profile

DJ Sweet 0.9.7 - Flash Player, Media Player and More for SWT

  • submit to reddit

DJ Sweet provides a sophisticated component suite for SWT.

The main focus is the improvement of the Web Browser control, and the addition of a Flash Player with a simple API. Nevertheless, it also offers other useful components like a multimedia player (based on VLC), an HTML editor (using FCKeditor or TinyMCE) and a Syntax Highlighter.


Flash PlayerHTML editor
 VLC Player Syntax Highlighter









This release is the initial release, which is the result of user requests asking for a port of the DJ Native Swing project API to SWT.

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.

DJ Sweet 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.

As usual, please let me know what you think and share your thoughts for future improvements!



Published at DZone with permission of its author, Christopher Deckers.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)


Zviki Cohen replied on Wed, 2008/12/10 - 11:05am

Nice to see people adding power to SWT.

Is it cross platform?  The demo didn't work very well on my Mac.


Christopher Deckers replied on Wed, 2008/12/10 - 11:32am

Hi Zviki,

It is supposed to be cross platform, but I can only test on Windows and Linux as I do not have a Mac.

Nevertheless, do not hesitate to contact me by e-mail if you want to give more details about the problems you found so that I can try to fix them.


Lekkie Nakel replied on Wed, 2008/12/10 - 12:24pm

Nice work Chris. Nodoubt this work is a great work.

Hi Guys, I'd like anybody with experience with flash and how its being loaded in browser to help out here. Flash movies (.swf files) can load fine in Internet explorer but can't load in JWebBrowser. I strongly suspect a problem with the SWT, however, it kind of hard to debug... any hint on way forward will be appreciated.

How does SWT treat plugins, I'd expect IE to render the movie and just hand the resulting component to SWT, however, its seems SWT needs to be intelligent enof to know how and where to load flash movies.

suresh kumar replied on Mon, 2009/02/16 - 12:13am

Dear Chris, I use DJ Native Swing 0.9.5 for running flash player in LINUX.Its works very fine. But, sometimes the flash movie is not loading and blank white screen is displayed. This problem is getting sorted only after restarting the LINUX PC.(Note: We are setting the MOZILLA variable and path during LINUX startup). Will the new version 0.9.7 solve this issue? I am using 0.9.5. Any Suggestions? Thanks Suresh

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.