entop clone in javafx