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.

Security for virtualized datacentres

More from The Register

next story
Microsoft WINDOWS 10: Seven ATE Nine. Or Eight did really
Windows NEIN skipped, tech preview due out on Wednesday
Business is back, baby! Hasta la VISTA, Win 8... Oh, yeah, Windows 9
Forget touchscreen millennials, Microsoft goes for mouse crowd
Apple: SO sorry for the iOS 8.0.1 UPDATE BUNGLE HORROR
Apple kills 'upgrade'. Hey, Microsoft. You sure you want to be like these guys?
ARM gives Internet of Things a piece of its mind – the Cortex-M7
32-bit core packs some DSP for VIP IoT CPU LOL
Microsoft on the Threshold of a new name for Windows next week
Rebranded OS reportedly set to be flung open by Redmond
Lotus Notes inventor Ozzie invents app to talk to people on your phone
Imagine that. Startup floats with voice collab app for Win iPhone
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.
The next step in data security
With recent increased privacy concerns and computers becoming more powerful, the chance of hackers being able to crack smaller-sized RSA keys increases.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.
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.