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