Posted by editor
on April 9, 2007 at 7:44 AM PDT
Crunch-time, anyone? Also:
Weblogs: Gosling on AB5k, fast 2d with shaders, and when the AJAX gimmicks clear
Java Today: Meet Peter von der Ahé, first BD-J discs reviewed, and NetBeans 5.5.1 RC1
Forum Postings: Compiling to memory, JAI interpolation, and rendering 2D in JOGL
Spotlight: Beans Binding (JSR 295) project
For those of you working on projects that need to launch in a JavaOne timeframe, the show begins a month from yesterday, so this is probably crunch-time. If you took some time off for a Spring break, it's probably a mixed message of "welcome back" and "get moving". And for those taking Passover off, the crunch begins or resumes on Wednesday.
Today's probably going to be pretty dire here once I finish the blog, as I left everyone's Very Important Problems to pile up in e-mail for a couple afternoons last week during the upgrade, and indulged a little programming time doing a desklet for the AB5k widget environment. If you'll recall, about two years, ago, I complained in this space about the lack of a widget-type approach to doing a sort of "bang out a snippet of code and run it" tool that is provided by BlueJ, and that I'd found handy in the form of the classic Mac's "Java Diddler" application.
Thanks to JSR-199 exposing a programmatic interface to the Java compiler, it is actually a pretty simple matter to code up equivalent functionality. So I used NetBeans to put together NuDiddler, an AB5k desklet that lets you write some code and execute it immediately:
I thought I was close to done with it, and put source for a 1.0b1 up on the project's Google Group , but over the weekend, Josh and Cooper changed the API radically by changing
Desklet from an interface to an abstract class (which will allow them to add new methods without requiring a new spec... Josh pointed to
LayoutManager2 as an example of what he's trying to avoid). So now my desklet, like all others, is broken. Plus, NuDiddler has only worked in the AB5k container within NetBeans and not with the Web-Start'ed version, and the container's error message doesn't give me enough to go on. So, I'm not done yet. Which is too bad, because there's plenty of other work to crunch on.
I'm not the only one playing with AB5k. In today's Weblogs , James Gosling says he's been having Fun with widgets too.
"I've been having a lot of fun with Rob Cooper and Joshua Marinacci 's AB5k Widgets for the World system. It's vaguely like Mac OS X's Dashboard, Vista's Sidebar, and Yahoo's Widgets, except that it works everywhere..."