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.

JavaFX links of the week, May 31

Another week, and unsurprisingly I have another bunch of links for you folks. Thanks to everyone for blogging your thoughts and what you’re working on – it’s great to hear what everyone is thinking of and doing. As always, feel free to ping me with any links you may have that you think are worth including.

Now – on with the news!

That’s all for another week. Keep up the great work everyone – I’ll catch you all again next week (or sooner if you’re on twitter) – same bat time, same bat channel.

How To Embed Fonts

How To Embed Fonts

I was going through my bug list today and noticed this bug, Document how to embed fonts in FX apps. A quick google search turned up a single forum posting on the subject which just linked back to the root bug (lucky for me I put the solution in the bug report so people weren’t completely stuck). Surprisingly, I couldn’t find any documentation on the subject here at FXExperience.com, so I thought to rectify that with a short post explaining the subject. (more…)

JavaFX links of the week, May 24

A huge amount of JavaFX news and links this week, certainly something for everyone, I hope. As always, I’m keen to hear from you folks with any news or links you think should be included. Either message me on twitter or email me.

That’s that for another week. Keep up the great work everyone – it’s great fun finding and reading what you’re working on. Catch you all next week! ๐Ÿ™‚

JavaFX links of the week, May 17

A slightly quieter week this week, but in fact there is a heap of very useful, well-considered posts this week. Be sure to check out the links below as there is plenty of useful information!

  • Amy Fowler has blogged about the promotion of the ‘managed’ property from LayoutInfo to Node, and at the same time covers the implication of this move. Well worth reading if you don’t understand what managed / unmanaged nodes are.
  • Tor Norbye has done a very useful blog post discussing pixel considerations in Java / JavaFX. Basically, if you’re wondering why your lines look blurred, this post explains why – and how to fix it. If you’re doing anything in JavaFX, you really should read this post.
  • Rakesh Menon has shown how to use the preview TreeView control we released in 1.3. You should read this as it shows the alternative way of building a tree on-demand. It’s a very nice feature of the TreeView API.
  • Peter Karich has posted a ‘matchstick graph editor‘ on JFXStudio. For others creating fun little apps, in any stage of implementation, please consider posting details about it to JFXStudio – contact me for details.
  • Jim Clarke has ported Jim Weaver’s 3D demo I mentioned last week to work on a TV. You can read all about the porting (basically mapping keys to the remote control), and watch a video, on Jim Weaver’s blog.
  • Johannes Schneider has posted about ‘Closing the gap between Java and JavaFX‘ by making it easier to bind between JavaFX and Java code. He says that this will eventually end up in the JFXtras project.
  • Sten Anderson has released Music Explorer FX 2.0, which has significant improvements over earlier releases.
  • I came across the ‘getting started with the JavaFX Composer‘ tutorial this week, and whilst I don’t know it’s age, I thought it might be useful for people wanting to play with this JavaFX RAD plugin for NetBeans.

That’s us for another week. Thanks to everyone for writing these useful posts, and as always please contact me if you think I missed something or should include a link next week. Keep up the hard work folks! ๐Ÿ™‚

Johannes Schneider

JavaFX links of the week, May 10

An absolute tonne of posts this week. It’s great to see that JavaFX is doing well, and that people are so active in improving, growing and supporting the community. Keep it up folks ๐Ÿ™‚

I warned you that this was a busy week! I hope that there was something helpful in the bunch of links above that was of particular help and/or interest to you. If I missed something out, or you just want to complain/sing my praises, please either message me on twitter (@JonathanGiles) or email me. Of course, you should also follow the @fxexperience twitter stream for news of when we post new blog posts here.

Right, that’s it for another week. Keep up the hard work folks and I’ll see you all again in a weeks time.

New to JavaFX 1.3: Menus

New to JavaFX 1.3: Menus

Important Note: Menus (and related classes) are ‘preview’ API in JavaFX 1.3, which means that the API may (and most probably will) change in future releases. However, you’re welcome to make use of these preview controls in 1.3. Read on to learn how.

Up until the release of JavaFX 1.3 it was not possible to build proper menus that ‘popped’ out of the Stage, as one expects a menu to do. It was not until we were able to expose other functionality internally that creating proper menus became possible. As already warned, in JavaFX 1.3 menus are preview controls whilst we firm them up and get feedback from the community. In this post I wanted to outline the API, and what options you have for styling them using nothing more than CSS.

(more…)

JavaFX links of the week, May 2

It’s nearly the end of my time in California – I head back to New Zealand tomorrow evening – but before that I need to post a new JavaFX links of the week. This week there were a tonne of posts, and so this post is very long. I had to keep my comments to a minimum as otherwise the post would have been even longer. Let’s get into it!

Wow, that’s a heapย  of posts. Hope there was something there for everyone. As always, feel free to email me if you have anything you want included or to just generally discuss. Have a great week everyone ๐Ÿ™‚

New to JavaFX 1.3: Cells

In JavaFX 1.3 a lot of work has gone into ListView, and extracting out the base virtualization engine (the secret sauce to high performance lists) such that it is able to be used in controls such as TreeView and TableView. At the same time we wanted to make it really easy for developers to customize what is shown in each ListView row. What we’ve ended up doing is creating the concept of a cell, which at any point in time represents at most one item in your ListView, and it is through the cell that you have total freedom about how to display your data. Finally, as noted, we’ve expanded this concept to also be used in exactly the same way in TreeView (which is a preview in JavaFX 1.3), and it is likely to also underpin any future TableView control.

(more…)

Dynamic Cell Sizes

One of the really neat things about the JavaFX ListView control is the Cell API, and the ability to have dynamically variable row heights, without sacrificing performance or scalability. To accomplish this, we’ll write a custom Cell factory which will create a Cell who’s size depends on some state.

To recap briefly, to remain scalable and fast, the ListView reuses Cells for rendering each row in the ListView. Because it reuses Cells, each Cell needs to be designed so that it does the right thing no matter what row it is asked to represent — even empty rows which are used only for filling out a ListView and not for actually holding valid data. (more…)

JavaFX links of the week, April 25

Well, look at that – JavaFX 1.3 came out this week. This weeks links are obviously largely about this, as I expect it to be for some time. 1.3 is a great release, but rather than rehash my thoughts here, I’ve got a bunch of links to other posts below. Enjoy! ๐Ÿ™‚

That’s all folks! Keep sending in the links and I’ll catch you in a weeks time.