Archive for September, 2007

More on swing garbage collection – static references

Monday, September 24th, 2007 Posted in java, swing | No Comments »

Static references are another common cause of memory leaks, both in Swing applications and other components. If a static field holds a reference to an object instance, that instance will not ... Read more..

Swing garbage collection – problems with the observer pattern

Monday, September 24th, 2007 Posted in java, swing | 2 Comments »

Clearly the observer pattern is very important in Swing programming, it is used every time you register a Swing model with a UI component, so that the component can update ... Read more..

Tango Desktop Project – great icons for UI developers

Monday, September 24th, 2007 Posted in swing | No Comments »

Here is a great resource for UI developers. Tango Desktop Project contains a set of icons which are released under the Creative Commons Attribution Sharealike license It is generally hard to find ... Read more..

Generating jnlp files from a jsp – http headers for IE

Thursday, September 20th, 2007 Posted in java, web | No Comments »

There are some advantages in generating a jnlp file for a webstart application from a .jsp. If you do this, you can dynamically generate the jnlp content (e.g. URLs, system ... Read more..

Test Suites – Speed is everything

Thursday, September 20th, 2007 Posted in java, rants and opinions | 1 Comment »

Well perhaps speed is not everything, but it is an important consideration when selecting a testing framework. I was briefly brought in to help with a struggling project recently. In ... Read more..

Using Diagrams effectively

Tuesday, September 18th, 2007 Posted in UML, rants and opinions | No Comments »

I recently had to draw some diagrams for a recent project involving a complex GUI. It is all too easy to get sucked into adding more and more detail to ... Read more..