Saturday, 15 January 2011

javafx 2 - View FXML code without saving to an file first? -



javafx 2 - View FXML code without saving to an file first? -

in javafx scene builder, somehow possible view fxml code current layout without saving file , view saved file?

right click on root node in scene builder , take re-create . , paste in text editor.

out set :

<group id="sb-clipboard" xmlns:fx="http://javafx.com/fxml"> <fx:define> <anchorpane id="anchorpane" maxheight="-infinity" maxwidth="-infinity" minheight="-infinity" minwidth="-infinity" prefheight="400.0" prefwidth="600.0"> <children> <button id="button1" layoutx="140.0" layouty="104.0" mnemonicparsing="false" text="button" /> <radiobutton id="radiobutton1" layoutx="283.0" layouty="172.0" mnemonicparsing="false" text="radiobutton" /> <togglebutton id="togglebutton1" layoutx="94.0" layouty="234.0" mnemonicparsing="false" text="togglebutton" /> </children> </anchorpane> </fx:define> </group>

javafx-2 scenebuilder

No comments:

Post a Comment