Swing links of the week: November 23, 2008
Here are some Swing links that you might have missed during the last week:
- Marc Nuri writes about using bytecode injection (with Javassist) to fix a performance issue in BeansBinding library. In the comment section Laird Nelson point out that this issue has already been fixed in the CVS repository of the project about four months ago.
- Christopher Deckers has announced release 0.9.7 of the DJ Native Swing library. New in this release are XPCOM access for the JWebBrowser when using XULRunner, an additional editor implementation for the JHTMLEditor using TinyMCE and a Syntax Highlighter.
- Gili Tzabari has a useful code snippet for installing Excel-like keyboard navigation on Swing tables.
- Christophe Le Besnerais shares some of his practices writing Swing applications (as a response to Gregg Bolinger‘s quest).
- Karsten Lentzsch shares more information on his implementation of JSR 296 (AppFramework).
- Mikael Grev is back with the first implementation of the media player that uses the new support for translucent and shaped windows in Java 6u10. He has been able to work around the performance limitations by employing a global translucent window that imitates shadows around the main window itself and the slideout shelves. The demo on Windows Vista is quite impressive and responsive, but apparently there is no graceful fallback on desktops that do not support translucency (such as Ubuntu without composite desktop managers).
- Jacek Furmankiewicz writes about BeansBinding and its limitations for working with POJOs.
- Clemens Eisserer has a new Java2D benchmark for testing his XRender pipeline. It is called JGears2 and is available for download and testing.
JavaFX 1.0 is one week away, and the full feature list is still unknown. However, an interesting bug report has found its way to the bug parade (bug 6770914):
http://javaweb.sfbay.sun.com/~ngthomas/javafx/mediaplayer/test.html
This is the javafx media player applet. At the bottom of the applet, there are three buttons, which will trigger a javascript -> fx call:
document.getElementById(“app”).script.playVideo(url);
with will change the video clip playing inside the applet. It works with 6u10, and our latest 6u12 nightly. But with 6u11 b03, document.getElementById(“app”).script is undefined/null
Looks like an applet playing media and being controlled by JavaScript associated with HTML buttons. Is this an example of enhanced applet support? At this point, it will take nothing short of a spectacular collection of applets to make them a viable competitor (and no, dragging the applets to desktop is not going to be it).