Drag lables/button on JForm/JPanel



Hello All,

In a swing application, i have a requirement that when the program is
running i should place a number of jbuttons and lables onto a jpanel
or jframe and the user should be able to drag them around on the
jframe/jpanel. It is some thing like the form designer of netbeans.
Please advice on how such a feature can be implemented.

thanks in advance

Chanchal

.