Category Archives: Development

Pectin 0.8 Released

I’ve just released Pectin 0.8 with lots of new features.  Some of the more significant are: More generalised binding support, i.e. you no longer need to use forms if you don’t need plugins. Beans binding now supports basic nested property paths. Command improvements … Continue reading 

Posted in Development, GWT | Leave a comment

Using <? extends T> and <? super T> for reduce style functions that operate on collections

One of the cases I’ve had to deal with in gwt-pectin is creating Reduce style functions that operate on a collection of values.  The basic idea is to define interface of the form. public interface Reduce<R,T> { R reduce(List<T> source); } … Continue reading 

Posted in Development, GWT | Leave a comment

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