commented import com.sun.javafx.tk.Toolkit;