Bonjour Je suis à la recherche d'un outil AIO qui peut convertir mon code FXML en code Java. J'utilise intellij et je me demandais si un tel outil existe?Outil pour convertir FXML en Java Code
code:
<?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>
Merci!
Tom Schindl une fois fait un outil, vous pouvez trouver plus d'informations [ici ...] (http://tomsondev.bestsolution.at/2013/08/29/convert-fxml- to-java-as-part-of-the-build /) – ItachiUchiha
Le lien qu'il a donné http://downloads.efxclipse.org/fxml-compiler.zip ne fonctionne plus. –
Faites défiler la section des commentaires et vous trouverez un [commentaire] (http://tomsondev.bestsolution.at/2013/08/29/convert-fxml-to-java-as-part-of-the-build/ # comment-37475) indiquant pourquoi le lien est mort et juste en dessous, vous trouverez [un autre] (http://tomsondev.bestsolution.at/2013/08/29/convert-fxml-to-java-as-part -of-the-build/# comment-38278) avec un lien vers la source. Si cela ne fonctionne pas pour vous, laissez un commentaire et attendez qu'il réponde. – ItachiUchiha