JavaFX + xtend an ongoing love

So I’ve already blogged (here and here) about the prefect match between JavaFX and Xtend.

Now that those 2 got to know each other better their love grows even more because Xtend now has a with (=>) operator who frees you from writeing builder classes to create an object tree.

So one can now write my initial example like this:

Isn’t it wonderful if a couple is such a perfect match😉

The only small problem with the new with operator is that the editor is having difficulties providing sensible autocompletion but I’m sure it’s only a matter of time until the editor catches up (see bug 380537).

Give xtend a try – you’ll learn extremly fast how to use it if you know Java.

2 thoughts on “JavaFX + xtend an ongoing love

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s