public void mouseReleased() {
   p.stopDragging();
 }