public void execute() {
   oldOffset = label.getOffset();
   Point newOffset = label.getOffset().getCopy();
   parent.translateToAbsolute(newOffset);
   newOffset.translate(location);
   parent.translateToRelative(newOffset);
   label.setOffset(newOffset);
 }
 public void undo() {
   label.setOffset(oldOffset);
 }