Another week, another bunch of Java desktop-related links. Keep up the hard work people, and always feel free to email me or leave a comment about anything I may have missed 🙂
- Carl Dea has put up the second part of his series discussing a JavaFX forms framework. This part covers the requirements and design of such a framework. For more context, have a look at part one of the series, which explains what a form framework is.
- James Clarke has a post detailing a NullPointerException he was encountering when using JMS. He provides a solution in his post on how to resolve this.
- Rakesh Menon has a post that details how to integrate JavaFX with YouTube so that JavaFX controls can be wrapped around a chromeless YouTube video.
- Jeff Frieson has continued his work on custom paints, and has written a very comprehensive article on java.net about it.
- Jim Weaver continues his series into developing BandmatesFX, adding a number of new bits of functionality / polish.
- Sergey Malenkov has a post showing off a ‘Score’ class he wrote in JavaFX, which is useful for games and applications that must show a count. Interestingly, the same Score class can be used to count in binary, octal, etc.
- Google announced this week that they have bought On2, the people behind the codecs used in JavaFX. How this plays out is anyones guess, but the JavaFX world appears to be pleased about it.
- Piliq.com posted a demo of a JavaFX ‘mini-map’ for a RTS game he is making. There is no code to see however.
- The Exadel blog has a post showing off the Seam booking demo using JavaFX.
- Phoenix (I wish people would use their actual names more often) has a post containing what he thinks are the 20 best JavaFX tutorials.
That’s us for another week. Catch you all next week.
Plenty of news this week, so lets get right into it.
- Leonid Bogdanov emailed me with some code he has been working on, as he thought it would be useful for other readers. He wrote a simple class that allows for a Java application (on any platform) to determine if there is already an instance of the program running. I’m sure many of us have had to write similar code before, so perhaps this is useful to some people out there. There is no license specified in the source file, however feel free to use it however you wish – consider it to be public domain code.
- Alex Ruiz posts about how he reorganised long unit test classes to be more readable and quicker to understand.
- There was a bit of a discussion recently about ‘Project Lombok‘, which looks like quite an interesting project to cut down on having to write boilerplate code. I recommend you spend a few minutes to watch the video to understand what it does.
Have a great week everyone.
A fairly quiet week this week in Java desktop land, but nonetheless some interesting news. Perhaps everyone is taking a deep breath prior to an Oracle acquisition. Regardless, let’s get straight into this weeks Java desktop links of the week.
- Cutting across both Swing and JavaFX is the need for good UI tests. The FEST project is one of the leaders in this area, and it is growing, with a number of new members this week alone. FEST is now looking to grow support for testing JavaFX user interfaces also.
- Željko emailed me to say that his Revolución Movie Library 0.7 beta has been released. This application has been linked to before from here, as it shows off what is possible with Swing. Note that this is a closed source application that’ll eventually not be free, and the current download is a 30-day trial.
- There is a discussion on whether component creation off of the EDT is really a bug. Frankly I didn’t even bother to read the article, as in my humble opinion it’s simple: anything relating to the UI should be performed on the EDT, and anything not relating to the UI should not be performed on the EDT (unless it is a very quick operation). It doesn’t get much more black and white than that.
- A new early release of the JavaFX Mobile runtime has been made available.
- Dean Iverson posted about using MigLayout in JavaFX 1.2. I haven’t had a chance to use this yet, but for anyone wanting to build form-based applications, this should be your first port of call.
- Steven Herod started an investigation into hardware acceleration of effects in JavaFX. After a number of issues were resolved, information started flowing (with the help of Dmitri Trembovetski and Chris Campbell from Sun). In short, if your hardware is recent, then effects should be hardware accelerated. For (a lot) more information, read the comments.
- Jim Weaver continues his series on BandMatesFX, with a number of improvements.
- Sang Shin has announced that a second session of the free 15-week JavaFX programming course will start on August 25th.
- Rakesh Menon gives an example of how to get drag-n-drop support in JavaFX. He does this by wrapping JavaFX Nodes in SwingComponents. In other words, drag-and-drop is not yet supported natively in JavaFX, so this is the next best thing.
- In another post, Rakesh attempts to continue to refine the node bounds discussion that has been going around recently.
- Stephen Chin officially announced a new community site for people wanting to learn JavaFX (which I pre-announced last week). I apologise in advance for not yet starting to maintain the links section. Hopefully I may be getting help from Carl Dea.
- Stephen Chin also posts a summary of this years Java client JavaOne Rockstars. Congratulations to all of them!
- Piliq.com has posted about how to give feedback/issues/bugs back to JavaFX developers at Sun. It’s well worth a read if you find anything bugging you. I have used it quite a bit recently, and they are really responsive (and JavaFX gets better because of it).
- Speaking of me, I posted a quick ‘menubar’ demo that I have been working on. It’s far from complete, but it is at least a good proof of concept that can be refined and improved as time permits.
That’s it for another week – hope you left a little wiser than when you entered. If not, demand your money back. Anywho, tune in next week – same bat-time, same bat-channel.
Well, no surprises this week with the news that the Oracle acquisition of Sun has been approved by shareholders. With the next step being Government consideration, we can only wonder how much longer Sun will be around. All I hope is that Oracle does it’s best to continue developing relevant Java technologies, and keeps Java pretty much on the path it is on now.
This week has been oddly quiet in the Java desktop world. Regardless, here are the most important Java desktop links of the week.
P.S. For anybody out there interested in hearing more Java desktop news, remember to follow me on twitter.
That’s us for another week. As always, feel free to email me any links you think are relevant. Have a great week!
Here is another weeks fresh Java desktop links, served steaming hot straight to you – just the way I know you like it.
- Richard Bair posts an article asking for feedback from people relating to controls ‘auto-sizing’ when their content changes. Please, if you have any opinions leave a comment on the blog post.
- Amy Fowler responded to my questions from last week, with a detailed blog post explaining layout bounds as they stand in JavaFX 1.2. If you have read anything in the past, I suggest you still read this post as bounds changed considerably betweeen 1.0 and 1.2.
- Related to Amy’s post is the boundsizer JavaFX application, which you can find more about here. This is hosted by Stephen Chin.
- Josh Marinacci posts a webstart link to his Particle-O-Rama effects application.
- The JavaFX coding challenge has wrapped up with the winners being announced this week. Congrats to the winners.
- Osvaldo Pinali posts an updated JavaFX Balls benchmark, and writes a lot of information about this in his latest post.
- Steven Herod wants to get your thoughts on the future of TwitterFX. Let him know your thoughts, and feel free to give him a hard time for being an Aussie.
- Jim Weaver has two posts this week, the first discussing using FreeBase to create BandmatesFX, and the second showing off Indaba Console 2.0, which is an internet-based, collaborative recording studio.
- Rakesh Menon posts a blog to warn people to bind with caution. I believe that for the second point mentioned in this post there really should be some kind of isAdjusting variable in Slider so that triggers bound to slider.value can be a little bit more smart, only running compute-intensive tasks when isAdjusting is false.
- Rakesh also posted a combo box control that might be useful to people whilst they wait for a proper control to be introduced in JavaFX.
- In Rakesh‘s third post of the week, he details how to use storage functionality in JavaFX.
- Additionaly, Carl is attempting to maintain a wishlist of JavaFX features on his blog. Personally I would encourage people to post their (considered) request for enhancements directly to the JavaFX-jira issues tracker. Having done this, feel free to trade the JavaFX issue urls, rather than attempt to maintain a separate repository of wishes which won’t necessarily ever been seen by anyone with any relevance to JavaFX development.
- Ambika Sukla emailed me to let me know about ‘Name the Note‘, a JavaFX applet designed to make learning to read music easier.
- Jan Goyvaerts posts a code-heavy article on how to do multipart HTTP file uploads using JavaFX.
- Finally, some good looking guy wrote a review of the Pro JavaFX Platform book, which can be read here.
- Andres Almiray keeps his blog on all things Groovy churning out the hits, this week with two on GfxBuilder. The first post is about custom nodes, and the second on transforms and plugins.
That’s it for another week. Keep up the good work everyone, but for those of you up in the northern hemisphere, get outside and enjoy the sunshine 🙂