在去往Java 11的路上我正在检查我的工具包,其中包括SceneBuilder .

我正在将java-11与javafx-sdk-11结合使用,并启动了SceneBuilder

/ opt / jdk-11 / bin / java --module-path javafx-sdk-11 / lib --add-modules = javafx.controls,javafx.fxml,javafx.web,javafx.swing -jar scenebuilder-10.0.0 -all.jar

用户界面看起来不错,但任何创建场景的尝试都会产生一些错误:

(java:10329): GLib-GObject-WARNING **: gsignal.c:2451: signal 'expose-event' is invalid for instance '0x7f395831e720' of type 'GtkWindow'
    Sep. 05, 2018 10:26:17 NACHM. com.oracle.javafx.scenebuilder.app.SceneBuilderApp$SceneBuilderUncaughtExceptionHandler uncaughtException
    SEVERE: An exception was thrown:

java.lang.reflect.InaccessibleObjectException: Unable to make void javafx.fxml.FXMLLoader.setStaticLoad(boolean) accessible: module javafx.fxml does not "opens javafx.fxml" to unnamed module @42efe4f4

在Java 11中使用Scenebuilder的最佳方法是什么?

谢谢,卡斯滕