Java desktop links of the week, November 21

Welcome to another week! :-) There is a heap of good links this week - it seems the quality of blog posts is certainly increasing these days! Keep it up folks :-) As always, I hope you enjoy some of the links below, and always feel free to email me links to include.

JavaFX

  • I mentioned last week that the ThingsFX Swing-in-JavaFX project didn't support key events, but that it was coming soon. In actual fact, I was wrong - it is already supported.
  • Speaking of ThingsFX, one of the members of that team, Roman Kennke, blogged elsewhere about the Swing in JavaFX integration, and even put up a demo applet that shows the current implementation. As you'll note, it is a little slow, but it shows a lot of promise once faster options are made available.
  • Tom Schindl has released e(fx)clipse 0.0.8, and now e(fx)clipse also has an official website. This project is very exciting, so if you are an eclipse user and want top-notch JavaFX tooling support, you should check this out and provide feedback.
  • Zonski continues blogging about his research and development with JavaFX 2.0. This week he talks about file downloading in JavaFX 2.0 (over HTTP).
  • Johan Vos has blogged about visualizing REST XML data in JavaFX controls, making use of the DataFX project.
  • Tom Eugelink follows up his JavaFX 2.0 bubblemark explorations after being told of a runtime switch for JavaFX 2.0 that removes the 60fps limit that JavaFX imposes.
  • The slide deck that Stephen Chin and Peter Pilgrim used at Devoxx 2011 for their "JavaFX 2.0 - A Developer's Guide" session is available online for those interested.
  • Patrick Champion blogged about extending a JavaFX 2.0 control to add functionality. I should probably add that their are simpler ways to doing this in many cases, which I covered in a JavaOne talk called "Custom UI Controls and Charts with JavaFX 2.0".
  • Andre Hogenkamp has posted a second blog post about running JavaFX 2.0 in Linux (whilst awaiting official support from Oracle).
  • Scott Hommel has blogged about using the JavaFX Screen API to determine the dimensions of the users screen.
  • Eric Bruno blogged about JavaFX 2.0 binding APIs. Whilst it is a good blog to cover the main concepts of binding in JavaFX, it skips over some simpler options that are possible for the specific use case mentioned in the post. For example, rather than bind the TableView width/height to the scene width/height properties (and place them inside a Group layout), if a StackPane is used instead the TableView will grow automatically without needing any bindings. Similarly, some controls have their max width/height set to the pref width/height, so it is simply a matter of calling, say, button.setMaxHeight(Double.MAX_VALUE) to have them grow automatically when placed in a relevant layout.
  • I've come across two JavaFX-related projects on GitHub that people may be interested in, but unfortunately no related websites for further details. Firstly, user 'nahi' has JRubyFX, and user 'skrb' has SVGLoader. Fortunately the project names are fairly self-explanatory :-)

Swing

Keep up the great work folks. Catch you all in a weeks time.

Thoughts on “Java desktop links of the week, November 21”