FXML View of the CurrencyConverterLite JavaFX app
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import javafx.geometry.*?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<AnchorPane xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="currencyconverter.app.Controller">
<children>
<VBox spacing="10.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<HBox spacing="5.0">
<children>
<Label prefWidth="60.0" text="Input" />
<TextField fx:id="inputAmount" prefWidth="80.0" />
<ComboBox fx:id="inputCurrencyComboBox" prefWidth="80.0" />
</children>
</HBox>
<HBox spacing="5.0">
<children>
<Label prefWidth="60.0" text="Output" />
<TextField fx:id="outputAmount" editable="false" prefWidth="80.0" />
<ComboBox fx:id="outputCurrencyComboBox" prefWidth="80.0" />
</children>
</HBox>
<HBox alignment="CENTER" spacing="10.0">
<children>
<Button fx:id="convertButton" defaultButton="true" mnemonicParsing="false" onAction="#convertAction" text="Convert" />
<Button fx:id="clearButton" cancelButton="true" mnemonicParsing="false" onAction="#clearAction" text="Clear" />
</children>
<VBox.margin>
<Insets />
</VBox.margin>
</HBox>
<HBox alignment="CENTER">
<children>
<CheckBox fx:id="autoCheckBoxButton" mnemonicParsing="false" onAction="#switchAutomaticConversion" text="Automatic conversion:" />
</children>
<VBox.margin>
<Insets bottom="5.0" top="5.0" />
</VBox.margin>
</HBox>
</children>
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</padding>
</VBox>
</children>
</AnchorPane>