Java desktop links of the week, April 13

Welcome to the very first Easter edition of Java desktop links of the week 🙂

I hope you all had a great easter, had a chance to spend time with family, and didn’t eat too much chocolate. Perhaps because of the short week, there has been far less news this week than normal. Let’s get started:



That’s it for another week. Have a great week and keep up the hard work in whatever you’re passionate about! 🙂

Using Google Collections with ProGuard

Just a short post to anyone who uses Google Collections in their applications and ProGuard to obfuscate their code: it won’t work because of the way Google Collections has been architected since around the 1.0-rc release.

To get around this, simply include the following in your ProGuard config script:

To quote the Proguard manual , this instruction:

Specifies not to ignore non-public library classes. By default, non-public library classes are skipped while parsing library jars. The classes are typically not relevant during processing, since they don’t affect the actual program code in the input jars. Ignoring them reduces memory usage and processing time. Occasionally, a badly designed library may contain a non-public library class that is extended/implemented by a public library class. If the latter library class in turn is extended/implemented by a program class, ProGuard will complain that it can’t find the non-public library class, which it had ignored during parsing. This option will overcome that problem, at the cost of greater memory usage and longer processing time.

Once this is done, the build should proceed as normal. In some circumstances (such as mine), your build may run out of memory. In this case, up the memory to the build script by adding the following VM arguments:
-Xms512m -Xmx1024m

Of course, you can vary that based on the memory requirements your build needs.

Hope that helps!

Java desktop links of the week, April 6

Here are your Java desktop links of the week. It’s been an interesting week to be a Java developer, given the rumours swirling around a potential acquisition of Sun as soon as this week. Who knows, next weeks post might be SWT links of the week 😉

Regardless of what happens, have a great week, and don’t work too hard.





Java Desktop links of the week, March 16th

Given the lack of news related to Swing recently, I think it’s getting to the point where I think another rename of this series is in order, this time to JavaFX links of the week 😉 Regardless, on with the news:

General GUI News:

  • The JavaOne 2009 sessions have been allocated and announced. You can search the sessions here . More information about JavaOne is available on Suns JavaOne website . Whoever is sending me my plane and conference tickets is leaving it very late 🙂
  • Kirill Grouchnikov (@kirillcool ) continues with his Trident animation library . This library does not necessarily animate Swing components, hence it being included in general GUI news. In general, Trident is a high-performance timeline framework, allowing for large numbers of interrelated timelines to be created.




Java desktop links of the week, March 2nd

Wow – it’s March already – where does time go? Here are the links from the last week that I think were important – as always, email/twitter/courier pigeon me any news that you think is relevant. Have a great week!




That’s it for this week! A very sparse news week, so if I’ve missed anything, please let me know! Have a great week.