67 lines
3.2 KiB
XML
67 lines
3.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.collections.*?>
|
|
<?import javafx.scene.control.ComboBox?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.layout.Pane?>
|
|
|
|
<?import java.lang.String?>
|
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="MyController">
|
|
<children>
|
|
<Button fx:id="ConfirmButton" layoutX="271.0" layoutY="321.0" mnemonicParsing="false" text="Confirm"/>
|
|
<Label layoutX="248.0" layoutY="356.0" text="Match the meaning" />
|
|
<ComboBox fx:id="word1" layoutX="448.0" layoutY="118.0" prefHeight="25.0" prefWidth="58.0">
|
|
<items>
|
|
<FXCollections fx:factory="observableArrayList">
|
|
<String fx:value="#1"/>
|
|
<String fx:value="#2"/>
|
|
<String fx:value="#3"/>
|
|
<String fx:value="#4"/>
|
|
</FXCollections>
|
|
</items>
|
|
</ComboBox>
|
|
<ComboBox fx:id="word2" layoutX="448.0" layoutY="153.0" prefHeight="25.0" prefWidth="58.0" promptText="#1" >
|
|
<items>
|
|
<FXCollections fx:factory="observableArrayList">
|
|
<String fx:value="#1"/>
|
|
<String fx:value="#2"/>
|
|
<String fx:value="#3"/>
|
|
<String fx:value="#4"/>
|
|
</FXCollections>
|
|
</items>
|
|
</ComboBox>
|
|
<ComboBox fx:id="word3" layoutX="448.0" layoutY="188.0" prefHeight="25.0" prefWidth="58.0" promptText="#1" >
|
|
<items>
|
|
<FXCollections fx:factory="observableArrayList">
|
|
<String fx:value="#1"/>
|
|
<String fx:value="#2"/>
|
|
<String fx:value="#3"/>
|
|
<String fx:value="#4"/>
|
|
</FXCollections>
|
|
</items>
|
|
</ComboBox>
|
|
<ComboBox fx:id="word4" layoutX="448.0" layoutY="223.0" prefHeight="25.0" prefWidth="58.0" promptText="#1" >
|
|
<items>
|
|
<FXCollections fx:factory="observableArrayList">
|
|
<String fx:value="#1"/>
|
|
<String fx:value="#2"/>
|
|
<String fx:value="#3"/>
|
|
<String fx:value="#4"/>
|
|
</FXCollections>
|
|
</items>
|
|
</ComboBox>
|
|
<Label fx:id="WelshWord1" layoutX="343.0" layoutY="122.0" text="Welsh word#3" />
|
|
<Label fx:id="WelshWord2" layoutX="343.0" layoutY="192.0" text="Welsh word#2" />
|
|
<Label fx:id="WelshWord3" layoutX="343.0" layoutY="157.0" text="Welsh word#1" />
|
|
<Label fx:id="WelshWord4" layoutX="343.0" layoutY="227.0" text="Welsh word#4" />
|
|
<Label fx:id="EngWord1" layoutX="115.0" layoutY="122.0" text="English Word #1" />
|
|
<Label fx:id="EngWord2" layoutX="115.0" layoutY="157.0" text="English Word #2" />
|
|
<Label fx:id="EngWord3" layoutX="115.0" layoutY="192.0" text="English Word #3" />
|
|
<Label fx:id="EngWord4" layoutX="115.0" layoutY="227.0" text="English Word #4" />
|
|
<Label layoutX="105.0" layoutY="122.0" text="1." />
|
|
<Label layoutX="105.0" layoutY="157.0" text="2." />
|
|
<Label layoutX="105.0" layoutY="192.0" text="3." />
|
|
<Label layoutX="105.0" layoutY="227.0" text="4." />
|
|
</children>
|
|
</Pane>
|