Feeds

JavaFX preview highlights critical weaknesses

Potential riches uncertain

Internet Security Threat Report 2014

The demos available online are similarly underwhelming. Find your way through the bizarre javafx.com website (which obeys no usability guidelines) and you may eventually stumble upon their demos page. Hint: the link is hidden at the bottom right, in grey text on a grey background.

Your perseverance will be rewarded with a grand total of two extremely minimal demos. The poster-child demo involves some underwhelming squares being drawn - the sort of thing that could be done in Flash years ago. The second demo, stock quotes, seems more promising but turns out to be a hardwired table with some static graphs and a nasty white background. You'd expect it to be possible for the table to be sorted or to have a column that can be dragged, to demonstrate the near-effortless ease of use of the table component.

Compare this with Adobe's Flex 3 Dashboard (Flash required) and - well, oh dear. While you're there, compare Sun's rotating squares and Static Quotes demo-ettes with these Flex samples, and you'll quickly see that Sun is in danger of failing to live up to Sun's promises over the long term.

Flex is also currently leading the race with browser integration. One of the main criticisms of Java applets from the early days was that they didn't mix well with the page they're sitting in. A web designer changing the visual style - typeface, line thicknesses, colors and so on - would modify the stylesheet, but the applet would still look the same as before, requiring re-coding, recompiling and redeploying.

The obvious answer would be to add support for external stylesheets to Swing: and this is the approach that Flex takes. The result is sublime, putting control of the application's look and feel in the hands of the web developers.

I asked Sun's JavaFX senior product line manager Jacob Lehrbaum if stylesheet support will be available in JavaFX anytime soon. He sounded as if he really wanted to say "yes", but couldn't make an announcement just yet. Unfortunately, this sums up Sun's effort with JavaFX so far: lots of potential and lots just over the horizon, just out of reach and threatening never to actually come into view.

Relative assessment

OK, let's be charitable. This is only a beta and the demos are just that - demos. The real thing should be much better - we hope. JavaFX could, and really should, do well because it offers the chance to have applications run on the desktop and mobile, unaltered. Who can argue with that?

From what I've seen so far, though, JavaFX isn't a viable option when set against the competition, and it has a long way to go. And JavaFX won't be viable until it has its GUI editor - next year. Let's hope there's still a race for Sun and JavaFX to run in by then. ®

Matt Stephens is co-author of Use Case Driven Object Modeling with UML: Theory and Practice, which illustrates how to get from use cases to source code and tests, using Spring Framework, JUnit and Enterprise Architect.

Top 5 reasons to deploy VMware with Tegile

More from The Register

next story
That dreaded syncing feeling: Will Microsoft EVER fix OneDrive?
Microsoft's long history of broken Windows sync
Mozilla, EFF, Cisco back free-as-in-FREE-BEER SSL cert authority
Let’s Encrypt to give HTTPS-everywhere a boost in 2015
SLURP! Flick your TONGUE around our LOLLIPOP – Google
Android 5 is coming – IF you're lucky enough to have the right gadget
Nokia's N1 fondleslab's HIDDEN BRILLIANCE: The 'Z Launcher'
Sugarcoating Android's Lollipop makes tab easier to swallow
Bug fixes! Get your APPLE BUG FIXES! iOS and OS X updates right here!
Yosemite fixes Wi-Fi hiccup, older iOS devices get performance boost
Microsoft: Your Linux Docker containers are now OURS to command
New tool lets admins wrangle Linux apps from Windows
Facebook, working on Facebook at Work, works on Facebook. At Work
You don't want your cat or drunk pics at the office
Soz, web devs: Google snatches its Wallet off the table
Killing off web service in 3 months... but app-happy bonkers are fine
Meet Windows 10's new UI for OneDrive – also known as File Explorer
New preview build continues Redmond's retreat to the desktop
prev story

Whitepapers

Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Choosing a cloud hosting partner with confidence
Download Choosing a Cloud Hosting Provider with Confidence to learn more about cloud computing - the new opportunities and new security challenges.
New hybrid storage solutions
Tackling data challenges through emerging hybrid storage solutions that enable optimum database performance whilst managing costs and increasingly large data stores.