Another busy week, especially in JavaFX land. I hope everyone is settled back in to work after the JavaOne distraction, and that conference-driven development can be forgotten for another 9 months. On with the news.
- Congratulations goes to Alex Ruiz, author of the FEST testing software, on the news that he and his wife had a baby girl this week. This is Java desktop related news only as it has already been decided that Colette will be a Java desktop developer in 20 years time.
- Josh Marinacci posted a FAQ for the Java Store.
- Often times when you present time to users, it doesn’t need to be precise. This is becoming more popular, especially on the web. If you want to have similar output for your users, look in to PrettyTime, which is an LGPL3 library designed to display human-readable timestamps like, “right now”, “2 days ago”, or “3 months from now”.
- Alexey Ushakov has two screenshots of the JWebPane component in action.
- Using NetBeans 6.7 and MigLayout? Geertjan Wielenga posts about how to register MigLayout in NetBeans to make it easier to use.
- Ken Orr posts that his heads-up display is now available on Windows with proper transparency.
- Rémy Rakic posts part one in a series on ‘Animation speed and dynamic motion blur in Swing with JavaFX’s Scenario‘. This code merges JavaFX and Swing.
- Want to learn what is new in JavaFX 1.2? Jim Clarke has an article up on InformIT which discusses precisely this. Note that it is five pages long (it’s not immediately obvious).
- Jeff Frieson posts about a painter interface he created for JavaFX, which allows for more interesting scenes, such as ‘fireworks, plasma, fractals, and even fire’. There is a webstart demo which demos the plasma effect, which works well when the frame is small, but performance suffers as the frame is made bigger, which is a little disappointing.
- Josh Marinacci is interviewed on RIA Weekly, where he is talking about JavaFX and the Java Store.
- In the final contribution from Josh this week, he also provided a custom virtual list component for JavaFX. This is a more customisable version of the ListView offered in JavaFX, although it is by no means complete, and still needs some TLC before it can be considered a suitable replacement. You can give it a whirl here.
- Fabrizio Giudici posts on how he created a common-profile based map renderer for JavaFX. This first post is on the underlying model, with future posts to cover the other necessary aspects.
- Sebastien Stormacq has a post to show how to subclass UI controls in JavaFX. This allows for him to create a ‘search text box’ which has the relevant controls within the text field.
- The final part in a series of posts on writing a Pac-Man game in JavaFX has been posted. This series was written by Haining Henry Zhang, and is well worth reading if you’re interested in creating games in JavaFX. Relatedly, he posted that the game has been ported to work on WidgetFX 1.2. Finally, Haining runs a blog that has a number of interesting posts related to JavaFX gaming.
- Stephen Chin posts about the latest WidgetFX 1.2 beta, and how to go about updating a widget developed against an older version.
- Rakesh Menon has code to demonstrate how to upload and download large files in JavaFX, and provide feedback to the user.
- In another post, Rakesh also provides examples on the new RssTask and AtomTask classes in JavaFX, which are used to (not surprisingly) parse news feeds.
- Osvaldo Pinali posts a JavaFX tip: only do a single assignment per variable per method.
- Baechul Kim has posted another three articles this week. The first post is on node bounding rectangles and coordinates, which is quite a difficult area of JavaFX to get your head around. He includes a Java webstart link to a program that helps to explain this topic more interactively. The second post is about the MediaBox demo that comes with the JavaFX SDK. Finally, he posts on how to load FXZ files, which are graphic assets stored in a JavaFX-friendly format.
- Want to create a ‘flying images’ effect in JavaFX? Raghu Nair says it’s simply a matter of TranslateTransition and ScaleTransition.
- Piliq.com has an article on JavaFX from a games programming perspective. Frankly I think the title is a little unrelated to the content, which appears to be not much more than a summary of the current state of play of JavaFX, mixed with a little wishful thinking.
- Subrata Nath writes about fullscreen support in JavaFX.
- Mohammed Sanaulla shows how to open a website in the users default web browser from JavaFX, simply by making use of the Desktop class introduced in Java 6.
- Not to blow my own trumpet, but I posted a thing or two this week also. Firstly, I posted a mini review of the Pro JavaFX Platform book, and secondly I posted a small code snippet that shows a Magic 8 ball.
- Andres Almiray posts about the latest FxBuilder, which has support for JavaFX 1.2, including the new controls, charts, etc.
- ‘Why do we need JavaFX when we have Groovy?’ is the question asked by teamlalala.com. They then go on to provide a good discussion around the code to draw a coffee cup in both JavaFX and Groovy. Personally, I don’t think the question is fair – why can’t we have JavaFX and Groovy – it’s not like Sun would ever drop JavaFX to instead support Groovy, and I would suggest that for the time being at least, there are far deeper pockets behind JavaFX than many other languages out there.
That’s it for another week. Keep working hard, and, as a (relatively) local comedian would say: say hi to your mum for me.