migrated to javafx