本文介绍了将FXML转换为Java代码的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好我正在寻找可以将我的FXML代码转换为Java代码的AIO工具。我使用intellij,我想知道这样的工具是否存在?
Hello I'm looking for a AIO tool that can convert my FXML code to Java code. I use intellij and I was wondering if such tool exists?
代码:
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.Pane?>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="69.0"
prefWidth="325.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<children>
<TextField fx:id="delay" layoutX="195.0" layoutY="10.0" prefHeight="25.0" prefWidth="114.0"/>
<Label layoutX="14.0" layoutY="14.0" text="Delay (milliseconds): "/>
<Label layoutX="195.0" layoutY="38.0" text="No decimal numbers!"/>
</children>
</Pane>
谢谢!
推荐答案
我找到了一个可以为你做这个的Eclipse插件。
I found an Eclipse plugin that can do this for you.
这篇关于将FXML转换为Java代码的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!