Netbeans と Scenebuilder を使用して JavaFX プロジェクトを作成しています。Scenebuilder には日付ピッカー コンポーネントがないことに気付いたので、jfxtras をダウンロードし、ライブラリをクラスパスに追加しました。次のコードを使用して、CalendarTextField オブジェクトを FXML ファイルに追加しました。
<?import jfxtras.labs.scene.control.*?>
<CalendarTextField fx:id="setupdate" prefWidth="200.0" showTime="true" GridPane.columnIndex="3" GridPane.rowIndex="8" />
正常に動作しているように見えましたが、Scenebuilder で FXML ファイルを開くと、次のエラーが表示されます。
fxml:99: error:
javafx.fxml.LoadException: Element does not define a default property.
これが何を意味するのかわかりません。