April 9, 2007

Struts For Swing

Filed under: Java — khangharoth @ 7:37 am

In my first job ,we were using Struts for the front end architecture and life was very easy as binding between model and Presentation layer (Jsp ) was automatically handled by Struts.

Right now i am working on a big desktop application which has Gui on Swing,and again the problem of Data binding of model with View came up.The idea of manually coding event listeners and copying from one layer to another itself was depressing.

So i started searching some framework for Swing which can do what struts does for web.

To my surprise their was none which was mature at that time but know it seems their is lot of effort going this way.

To name a few

  • Swing Application Framework : This has more than binding and in future can become de-facto way of creating Swing Applications .Watch this out as this is Sun in house effort and hence it will be very well integrated with rest of Java world.
  • JGoodies : Quite mature framework and can solve various Swing needs from Look and Feel ,Layout ,Validation ,Binding etc.Lot of people are using this for commercial application so tested in production environment.For time being till Sun comes out with proper Swing Application framework ,this should be your choice.
  • TikeSwing : An open source effort for data binding and while evaluation i was really thrilled with its design and capability.Only problem is their aren’t many application developed on it ,and hence its scalability in production environment is in doubt.Its not that i stumbled upon any limitation ,its just that their isn’t much developer base behind this.

Well time is ripe for Java Desktop applications and now its seems Sun has also starting to move in this direction rather aggressively.So in coming years writing a Swing based application will be easy and faster even for new developers.



  1. Hello. I did a small writeup on the JGoodies Looks framework with a few screenshots. Its a really nice library that you can just drop in to make your swing apps look much better.
    You can check it out at

    Comment by Tim Archer — April 11, 2007 @ 11:42 am | Reply

  2. Hi,

    the JGoodies libs Looks, Forms, Binding and Validation are not commercial, they’re open source.

    Comment by Roland — July 12, 2007 @ 9:01 am | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at

%d bloggers like this: