Refactoring, JFX