I was inspired by Dean Iverson’s tweet with a audio equalizer in JavaFX:

#JavaFX rocks. Literally. An example from our upcoming Pro JavaFX 2 book: pic.twitter.com/tSI4Vry4
and the equalizer view from that Pro JavaFX 2 example app: pic.twitter.com/T6jxvrf9
. updated pic.twitter.com/FqzgVimG

So wanted to have a go at doing one my self, so little while later I have a design and built a working application. Demo video after the break.

Read the rest of this entry »

Ok, hokey title. Jonathan wrote up a really great retrospective on 2011 for JavaFX, and it inspired me to want to write a post detailing the plans and goals I have for JavaFX in the new year (and I’m sure Jonathan and Jasper would concur).

Without further ado, my top 10 list of goals for 2012!

Read the rest of this entry »

It’s another year already! I hope everyone had a great start to 2012. Because I published last weeks links roundup a few days late, there aren’t too many links this week, but the links I do have below are all of a very high quality. Enjoy! :-)

Catch you in a weeks time, when I’ll be back in New Zealand! :-)

With the end of 2011 nearing, I thought it would be a good time look back on what has happened in the world of JavaFX this year…

Read the rest of this entry »

Sorry for the delay in this post – with Christmas I managed to relatively disconnect from the web for a few days. Now that things are getting back to normal, I have a heap of links to share. Enjoy! :-)

I hope you found something useful :-) Catch you in a weeks time!

It has been a hectic few months for JavaFX releases recently (and before that it was a hectic year of development building up to JavaFX 2.0!). Today we have another announcement, but first, a quick timeline:

  • JavaFX 2.0 for Windows, and JavaFX 2.0 developer preview for Mac OS shipped at JavaOne in early October.
  • In mid-October we shipped JavaFX 2.0.1 for Windows. This was a security-only release.
  • Earlier this month JavaFX 2.0.2 was released, which included a huge number of bug fixes, optimisations, some new API, and an improved redistribution license.

Today we are proud to announce that JavaFX 2.1 early access is available for Windows. It has been available for Mac OS for quite some time from the same page…

The reason why I say we’re proud: we’re hitting all the targets we’re talking about, and the releases just keep getting better and more featured. JavaFX 2.1 is going to be a more substantial release, and I’m so pleased we can get you early versions of it so soon.

Now, a word of warning: don’t use the early access releases in production – it is pre-beta code and will be more buggy than 2.0.2. We’re putting this out for public use so people may test the new features and provide feedback.

As with all other releases I’ve announced:

  • Go to the forums to discuss JavaFX questions you have,
  • Sign up to the openjfx-dev mailing list if you’re interested in our open source developments,
  • File bug reports over at our Jira issue tracker.

Happy testing!

With JavaFX 2.0.2, we’ve included support for interop with SWT in the same way that we support interop with Swing. That is, you can embed JavaFX within your SWT applications! Although e(fx)clipse has been doing this for a little while by embedding FX -> Swing -> SWT, you can now skip the intermediate embedding into Swing and just go straight to SWT. Because FX and SWT share the same basic threading model, this is really easy to do.


Read the rest of this entry »

When Eileen and I were working on our session for JavaOne on Designer-Developer workflow we needed a way of converting some vector graphics from Adobe Illustrator into JavaFX. So I tried the FXG to JavaFX converter I found on the web and did not have much luck as what Eileen and draw was pretty advanced. So I thought well FXG is a XML file and FXML is a XML file and as I used to do XML->XML conversion all the time for a previous job using XSLT. I thought how hard can be be to write a converter, well about 4 hours later and some dusting off of The XSLT book here is what I came up with:


Read the rest of this entry »

A number of people have asked me recently can I create this look or that look using CSS in JavaFX. Or they have said that you could never do that! So I thought I would do a little experiment and try recreating a bunch of common button styles purely using CSS. So without further ado, here is the result:


Read the rest of this entry »

Here we go again…..enjoy! :-)

  • JavaFX 2.0.2 was released this week, bringing with it a heap of bug fixes, as well as a number of new features including SWT interoperability, and improved mouse scroll APIs. Additionally, the license was updated to allow for redistribution.
  • A new JavaFX 2.0 Developer Preview release has been made available for Mac OS X.
  • Coinciding with the release of JavaFX 2.0.2, the JavaFX Documentation team put out a number of new articles, covering topics such as JavaFX menus, styling charts with CSS, handling events, and others.
  • The JavaFX roadmap has been updated to give more detail about future releases.
  • Tom Schindl has announced the release of e(fx)clipse 0.0.9, as usual it comes with bug fixes and a few new features, including improved wizards, improvements to his fxgraph DSL, and early FXML support.
  • Sven Reimers and Geertjan Wielenga have announced the eFX project, which is a JavaFX RCP based on the NetBeans RCP.
  • John Smith has blogged about having a code editor in JavaFX by embedding the JavaScript CodeMirror editor inside a JavaFX WebView.
  • Pedro Duque Vieira has blogged about using ContextMenu in both JavaFX, and when embedded within a JFXPanel inside Swing.
  • Dustin Marx has blogged “Hello JavaFX 2.0: Introduction by Command Line“.