Category Archives: UIs and Swing

Simplifying

I always find it healthy to come back and use code you wrote a while ago. There’s nothing like a bit of space to help see things in a new light. Often too you can be so focused on solving … Continue reading 

Posted in Development, UIs and Swing | Leave a comment

Farewell Tapestry and Hello GWT

With the upcoming release of Tapestry 5 I’ve decided to take the plunge and try out GWT. I’ve long been a Tapestry fan (I can’t stand the goto development style of Struts), but this latest version has left me a … Continue reading 

Posted in Development, UIs and Swing | Leave a comment

Playing with Google Guice: Look and Feel

In this example I’m showing how I use the LookAndFeelService in conjection with the EnvironmentService to configure the LAF defaults based on the runtime environment. The LookAndFeelModule allows me to configure various look and feel aspects based on the runtime environment. … Continue reading 

Posted in Development, UIs and Swing | Leave a comment

Playing with Google Guice: Splash Screens

The previous entry showed the creation of a (very) simple single frame application. Splash screens are common, so lets add one. Since there’s no easy way to do it for all occasions, we’ll use a Guice module to provide it … Continue reading 

Posted in Development, UIs and Swing | Leave a comment

Playing with Google Guice

It’s been a long time coming but I’ve finally started dabbling in dependency injection for my swing frameworks. It’s taken me a quite a while to get a feel for where and how it can/should be used. Given the complexity … Continue reading 

Posted in Development, UIs and Swing | Leave a comment

Why I generally avoid GUI Builders

How’s that for a non committal title (c: Most of my own thoughts have been better explained by others.  Beware the GUI Builder is an excellent article on Hacknot, and a response by Karsten Lentzsch to this post sums up the … Continue reading 

Posted in Development, UIs and Swing | Leave a comment

Playing with ANTLR

One aspect that can be annoying when creating value models creating bindings for their enabled and visible states. The following shows a simple example where certain components are enabled and disabled based on the value of others. In this screen, the … Continue reading 

Posted in Development, UIs and Swing | Leave a comment

And then there were Mixins

One of the key goals for my binding infrastructure has been to make it easy to extend the value models to suit your business requirements. The idea was let you define a custom value model properties and have the library … Continue reading 

Posted in Development, UIs and Swing | Leave a comment

More Value Model thoughts…

In light of my previous post, I’ve long pondered how I could create a generic PresentationModel/ValueModel framework that can be customised on a per project basis. Must be able to extend the ValueModel interface with real meta data methods. Must be able … Continue reading 

Posted in Development, UIs and Swing | Leave a comment

Extending Value Models

I recently worked on a large scale Swing project where we made heavy use of value models in the UI. The requirements were complex as the interface designers were more interested in what was good rather than what was easy. In … Continue reading 

Posted in Development, UIs and Swing | Leave a comment