Example #1
0
 @Override
 public void undo() {
   fParent.getChildren().remove(fChild);
 }
Example #2
0
 @Override
 public void execute() {
   fChild.setBounds(fBounds.x, fBounds.y, fBounds.width, fBounds.height);
   fParent.getChildren().add(fChild);
 }