Offline Solution in JAVAFX