Tuesday May 07, 2013

JavaFX 1.3.1 Runtime Redistribution

Following last year's JavaFX 1.2 and 1.3 End of Life announcement, we decided to postpone the decommission of Oracle's JavaFX 1.x download infrastructure by a few months to allow a handful of companies to finish migrating their applications to JavaFX 2.x. This was the case of SmartBear Software, who have released a new version of loadUI at the end of March.

However, we are still aware of a number of companies and individual developers who didn't have the resources to port their applications to the most recent version of JavaFX, or at least not by the time the EOL would take effect. We've then decided to put together a workaround that would allow third parties to redistribute the JavaFX 1.3.1 Runtime with their applications. This solution is available today, and in order to provide a transition period during which developer's can implement it, we have decided to postpone the EOL by a couple of more months. As you can see from the redistribution instructions, this is a relatively easy workaround to implement. What was more complex and time consuming was to update the license to allow for redistribution of JavaFX 1.3.1.


Sunday Mar 18, 2012

Will you choose JavaFX for Development?

A few weeks ago, a poll on the home page of java.net caught my eyes, because it was related to JavaFX. Its title: Will you use JavaFX for development once it's fully ported to Mac and Linux platforms?

Usually, the results for this type of polls are published on the editor's Daily Blog soon after the poll closes. For some reason, this didn't happen for the JavaFX poll, so I'll take a shot at interpreting the results.

 The results found on java.net look pretty close to the following:

Although this way to look at the results already gives us an idea of how much traction JavaFX is getting, there are just too many type of answers that make it hard to read. The answers "maybe" and "I don't know" are awfully similar, so I'm tempted to collapse these together. Then there is "No, I don't do that type of development" that just doesn't belong here, as obviously developers who ave chosen this answer don't develop Rich Internet Apps, and therefore I will adapt the % results accordingly. Finally, I've been tempted to combine the top three categories just t simplify the results. This gives me the following chart:

 Whether you prefer the original graph, or my simplified take on it, one thing is sure:  less than 10% of developers who have taken this poll plan to stick to another toolkit (presumably Swing or SWT), while the vast majority is inclined to use JavaFX. When you take into account that JavaFX 2.0 is pretty much a "new" API (no more JavaFX Script), I think these are some pretty good results, 6 months after the official release of JavaFX 2.0.

Thursday Mar 15, 2012

Building My First JavaFX Application Using Netbeans 7.1

Angela Caicedo, Oracle Technology Evangelist for JavaFX, has released a series of videos demonstrating how to build a simple JavaFX application using Netbeans 7.1. This video series is a great introduction to using JavaFX and takes the viewer through easy to follow, step-by-step instructions, including example code and showing the results along the way. These videos are highly recommend to anyone who is new to JavaFX and is looking for a quick getting started guide. 

The first video provides an introduction to the the application and shows viewers the end result of the exercises that will be demonstrated throughout the series. The second video (Part 1) demonstrates how to get started creating the application from an empty project to build your first JavaFX application in Netbeans 7.1. Instructions include defining the components, creating and inserting image packages, adding the resources you want to make available in your application, setting the clipping area for you image, and setting the style for your image to create a transparent window. The third video (Part 2) demonstrates how to handle events and binding in the sample application using JavaFX.

Watch the first 3 episodes now and stay tuned for future installments in this series on the Java YouTube channel.

Tuesday Feb 21, 2012

JavaFX 2 and the developer community

JavaFX 2 was only released in October 2011, but there's already a thriving developer community kicking the tires of the new kid on the block, or busy developing new applications. There's no denying that we've pretty much started from scratch with JavaFX 2, and that we still have a lot of work ahead of us before we can claim victory.

But based on a number of indicators, JavaFX 2 benefits from the support of a growing number of developers. Let's have a look at some of these metrics.

JavaFX OTN Forum

There are currently two forums covering JavaFX. The first one covers JavaFX 1.x, and the activity on that forum has pretty much stopped several months ago, which was to be expected since JavaFX 1.3.1 is the last release supporting JavaFX Script.

On the other hand, the number of discussion threads on the "JavaFX 2.0 and later" forum has been growing steadily since the initial JavaFX 2 Beta for Windows was made available for download last May. A large number of the questions asked on the forum are answered by members of the JavaFX product team at Oracle, but an even higher number of threads involve non-Oracle employees. All in all, this is a sign of an healthy developer ecosystem: more and more developers start experimenting with JavaFX 2, ask questions on the forum, which should ultimately translate into more knowledgeable developers capable of building functional JavaFX applications.

Filing Bugs and Feature Requests

Another sign of a healthy developer ecosystem is the willingness of developers to report issues or submit a request for a new feature, rather than hoping someone else will do it, or moving away from JavaFX. For JavaFX 2, the developer community has contributed to an average of 20% of the activity in Jira since July, which is helping us produce better quality releases, since we can't possibly replicate all the software combinations in our QA lab.


As many of you know, my Tweeter id is @javafx4you, and I try to do my best identifying the most interesting JavaFX-related announcements and blog posts to provide a stream of relevant information on Tweeter. Over time, a growing number of people interested in JavaFX are following me, and this number keeps growing. Of course this number is small compared to the number of followers for  @java or @openjdk, but again JavaFX 2 is pretty new, and it's the trend that is interesting.


I enjoy reading blog entries focusing on JavaFX, because it gives me an opportunity to see what other developers think of JavaFX, or discover new uses that we didn't originally envision. My biggest frustration is actually not being able to find out the real name and contact information for the person who has written a terrific blog entry about JavaFX, because I'd like to help put them in touch with our Java Magazine and OTN editor-in-chief, or simply set up a discussion with folks in our development team.

It's of course impossible to track all blogs that mention JavaFX, so I've decided to rely on the excellent summary "JavaFX links of the week" posted on a regular basis by Jonathan Giles. Not scientific, but good enough to se the trend in number of blog entries.


There are many other metrics one can consider, such as the number of JavaFX SDK downloads, the number of JavaFX session attendees at JavaOne, or even the results of informal polls, such as the one posted by Kevin Farrell on java.net (Will you use JavaFX for development once it's fully ported to Mac and Linux platforms?), but pretty much all the ones I've seen show that JavaFX is growing in terms of popularity.

The challenge is of course to keep the trend going, and you can certainly play an important role. Remember: download, kick the tires, file issues, ask or answer questions in the forum, post your thoughts in blog entries, and release new apps!

Wednesday Feb 25, 2009

Follow JavaFX on Twitter

Follow @javafx4you on Twitter to receive the latest developments and news on JavaFX from Oracle and from the developer community


This blog is maintained by Nicolas Lorain, Java Client Product Manager. The views expressed on this blog are my own & do not necessarily reflect the views of Oracle.


« July 2016