import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.ColorPicker; import javafx.stage.Stage; public class Bug extends Application { private ColorPicker colorPicker; @Override public void start(Stage primaryStage) throws Exception { colorPicker = new ColorPicker(); primaryStage.setScene(new Scene(colorPicker, 200, 200)); primaryStage.show(); } /** * Java main for when running without JavaFX launcher */ public static void main(String[] args) { launch(args); } }