How to Convert FXML to JAVA

后端 未结 2 782
忘掉有多难
忘掉有多难 2021-01-19 14:46

I were created a fxml file using javafx scene builder in netbeans.

How do i convert .fxml file in netbeans to .java? Is that any program to convert it?

I am

2条回答
  •  隐瞒了意图╮
    2021-01-19 15:08

    There isn't any support for this kind of thing. The idea is that you are using FXML to visually layout your UI and then connecting it to java using a controller class.

    Sidenote: We at e(fx)clipse started a build addon that allows you to converter FXML-Files into Java-Files - because of performance reasons on embedded devices.

提交回复
热议问题