Platinum Partner

DJ NativeSwing 0.9.5 - State-of-the-art native component integration for Swing

DJ Native Swing 0.9.5 is finally out! And this is great news for us who just want to integrate native components in our rich Java Swing applications.

DJ Native Swing was designed to handle all the complexity of native integration, mainly in the form of components with a simple Swing-like API.
For the record, here are some screenshots of some of the components in action (click to enlarge):

Web Browser
Flash Player
VLC Player HTML Editor

And here are the project links:

 

This 0.9.5 version originally had humble goals: to expose a simpler API, have some Javadoc, improve examples, and consider user feedback to fix bugs and add new functionalities.

Well, it turns out that there was a large user feedback! And the good thing is that it was not focused on the web browser integration only, as I originally feared, but on all the components (Flash Player, VLC Player, Windows Media Player and HTML editor) as well as the framework.
This resulted in making the framework more robust and better adapted to practical needs.

So here is a list of new and noteworthy features:


  • Framework
    • Improved stability and error reporting.
    • Reduced memory and increased performance.
    • Native components can be printed to an image.
    • Native components have a unified and extensible way of handling their options, passed in their constructors.
    • Simplified API for native components, browser-based components and Ole components.
    • The native interface has a proper lifecycle: it can be closed and re-opened, some listeners allow to track such events.
    • Improved debugging using all sorts of documented system properties.

  • JWebBrowser
    • Invoke Javascript functions that return a result synchronously.
    • Commands sent by a web page back to the application now handle multiple parameters.

  • JFlashPlayer
    • Possibility to completely pilot a Flash application by calling Action script functions and receiving commands.
    • Load a Flash file directly from the classpath.

  • JVLCPlayer
    • The API of the VLC plugin is completely exposed in a similar fashion.

  • JHTMLEditor
    • Customize the behavior by changing the FCKeditor configuration (like changing the toolbars).

  • JWMediaPlayer
    • More of the API of the Windows Media Player is exposed.

 

As usual, let me know what you think, so that the next release pushes the limits even further!

-Christopher

 

{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}