FX Experience Has Gone Read-Only

I've been maintaining FX Experience for a really long time now, and I love hearing from people who enjoy my weekly links roundup. One thing I've noticed recently is that maintaining two sites (FX Experience and JonathanGiles.net) takes more time than ideal, and splits the audience up. Therefore, FX Experience will become read-only for new blog posts, but weekly posts will continue to be published on JonathanGiles.net. If you follow @FXExperience on Twitter, I suggest you also follow @JonathanGiles. This is not the end - just a consolidation of my online presence to make my life a little easier!

tl;dr: Follow me on Twitter and check for the latest news on JonathanGiles.net.

Don’t use impl!

I was just working my way through the last few days of posts on the JavaFX OTN forums and noticed somebody who was trying to learn how to write a custom layout pane and included the following code in the forum posting:


public class MyLayout extends Pane {
@Override protected void layoutChildren() {
// TODO
}

@Override protected void layoutInArea(Node arg0, double arg1, double arg2,
double arg3, double arg4, double arg5,
HPos arg6, VPos arg7) {
// TODO
}

@Override protected void impl_layoutBoundsChanged() {
// TODO
}
}

This reminded me that I had failed to write a blog warning of the perils of using impl_ methods in JavaFX 2.0. DON’T EVER USE THEM!!

(more…)

JavaFX 2.0 Released

Whoa! It is kind of embarrassing that we haven’t yet blogged about the fact that JavaFX 2.0 has been released! In our defense, it has been a very busy past few days. At the JavaOne Technical keynote Monday morning I announced 4 things:

  • GA Release of JavaFX 2.0 (32 bit XP, 32 & 64 bit Windows Vista and Windows 7)
  • Developer Preview release of JavaFX 2.0 for Mac OS X
  • Early Access (for partners) of JavaFX Scene Builder (RAD tool)
  • Netbeans 7.1 Beta with support for JavaFX

In addition, on Tuesday Adam Messinger (VP Java SE, Java Client, Java ME — my bosses boss) announced that we are open sourcing all of JavaFX. We are asking the OpenJDK community for a new project where we will put JavaFX. In addition, we will be working with the JCP to propose JavaFX as an official standard part of the Java platform (probably targeted for Java 9).

There was also a very exciting demo which you probably have already seen, where Nandini Ramani (VP Java Client, my boss) showed JavaFX running on both a Samsung Galaxy Tab (atop Android) and an iPad. Needless to say, this has generated quite a bit of buzz. I’ll blog separately about how this works and why (I gave a session on the subject on Tuesday).

We’ll also be blogging with our slides from the conference. In the meantime, the conference is ongoing, and I’m late for a session I wanted to attend. I’ll also post some slides from the Monday Keynote and Tuesday keynote (if I can get my hands on them)