Vishal,
I misread Spring as Swing.
. Looks like I was in a hurry to post the
thread. Ulf has already answered to me. I request the owner to please delete the thread from here. I am posting this in Swing forum to get more valuable inputs. Thanks Ulf and Vishal.