parent
15da340f2a
commit
ab0ab0bfd3
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.text.*?>
|
||||
|
||||
<AnchorPane xmlns:fx="http://javafx.com/fxml" fx:controller="FirstDemo.demoController">
|
||||
<children>
|
||||
<Label text="初始进制:" layoutX="30.0" layoutY="30.0"/>
|
||||
<TextField fx:id="initialBaseField" layoutX="150.0" layoutY="30.0"/>
|
||||
|
||||
<Label text="要转换的数字:" layoutX="30.0" layoutY="80.0"/>
|
||||
<TextField fx:id="numberToConvertField" layoutX="150.0" layoutY="80.0"/>
|
||||
|
||||
<Label text="目标进制:" layoutX="30.0" layoutY="130.0"/>
|
||||
<TextField fx:id="targetBaseField" layoutX="150.0" layoutY="130.0"/>
|
||||
|
||||
<Label fx:id="resultLabel" layoutX="30.0" layoutY="180.0" prefWidth="300.0" wrapText="true" textAlignment="CENTER"/>
|
||||
|
||||
<Button text="转换" layoutX="80.0" layoutY="240.0"
|
||||
prefWidth="240.0" prefHeight="45.0"
|
||||
onAction="#convert"/>
|
||||
</children>
|
||||
</AnchorPane>
|
Loading…
Reference in new issue