You need to pass the piece that creates the Dummy objects to the dummies, so it can move the proper piece to its location if it is clicked on. Add an instance field ('Piece piece') in the Dummy class and change the constructor to:
public Dummy(Piece p)
{
piece = p;
}
Then you can use 'piece.setLocation(geX(), getY())' to move the piece.
2014/2/4