undecorator.setAsStageDraggable(stage, node);
Scene scene = new Scene(undecorator);
// Install default Accelerators in the Scene
undecorator.installAccelerators(scene);
// Enable fade transition
undecorator.setFadeInTransition();
/*
* Fade transition on window closing request
*/