I'm currently writing a chess program and at the moment I have drawn the chess board in a panel, what I now want to do is add the pieces to the relevent squares and be able to click and drag them to new positions on the board.

What is the best method to use to get smooth movement of the piece over the board ?

Should I use a different container for the pieces and how can I respond to a user clicking it?

I'm really not sure how best to go about this so any suggestions will be greatfully recieved

Sorry if this is a little vauge.