Preview in implementation of FileEditor. via JavaFX.