Plugins... and JavaFx


So I’ve complained about JavaFX before but I’m going to mention it again because, well, every time I see these examples I feel like a 2009 web user trapped in a 1995 world.

There’s an example of a Carousel implemented in JavaFX over on JavaFX.com. Here’s what you get when you try to view it:

First up, it’s loading…

REXML could not parse this XML/HTML: 
<form mt:asset-id="8" class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="JavaFX carousel screen one" src="http://www.boundvariable.com/i/jfx-carousel.gif" width="512" height="456" class="mt-image-none" style="" /></form>

Now I have to verify that I want to run org.jdesktop.applet.util.JNLPAppletLauncher. Ok. Why not? I always trust things with names like that when they ask.

REXML could not parse this XML/HTML: 
<form mt:asset-id="8" class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="JavaFX carousel screen two" src="http://www.boundvariable.com/i/jfx-carousel2.gif" width="512" height="321" class="mt-image-none" style="" /></form>

Which takes me back to the loading page for about five seconds whilst it continues loading.

REXML could not parse this XML/HTML: 
<form mt:asset-id="8" class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="JavaFX carousel screen one" src="http://www.boundvariable.com/i/jfx-carousel.gif" width="512" height="456" class="mt-image-none" style="" /></form>

Until finally I see a carousel.

REXML could not parse this XML/HTML: 
<form mt:asset-id="8" class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="JavaFX carousel screen three" src="http://www.boundvariable.com/i/jfx-carousel3.gif" width="512" height="512" class="mt-image-none" style="" /></form>

To adapt a quote from Bill Moggridge… kind to Java developers, cruel to users.



CoffeeScript in Action


CoffeeScript in Action book cover

I'm the author. Get it from Manning.