Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```java
- <?xml version="1.0" encoding="UTF-8"?>
- <?import javafx.geometry.Insets?>
- <?import javafx.scene.control.Button?>
- <?import javafx.scene.control.ComboBox?>
- <?import javafx.scene.control.Label?>
- <?import javafx.scene.control.TextField?>
- <?import javafx.scene.layout.FlowPane?>
- <?import javafx.scene.layout.HBox?>
- <?import javafx.scene.layout.Pane?>
- <?import javafx.scene.layout.VBox?>
- <Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="709.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sample.Controller">
- <children>
- <HBox layoutX="5.0" layoutY="6.0" prefHeight="37.0" prefWidth="699.0">
- <children>
- <FlowPane hgap="10.0" prefHeight="54.0" prefWidth="469.0">
- <children>
- <Label alignment="CENTER_RIGHT" prefHeight="17.0" prefWidth="79.0" text="Employees:" />
- <ComboBox id="cboNames" fx:id="cboNames" prefWidth="150.0" />
- <Button id="btnGetInfo" fx:id="btnGetInfo" mnemonicParsing="false" onMouseClicked="#handleButtonAction" prefHeight="27.0" prefWidth="80.0" text="Get Info" />
- </children>
- </FlowPane>
- <FlowPane fx:id="flpDemos" prefHeight="54.0" prefWidth="380.0">
- <children>
- <Label fx:id="lblExperience" text="Experience:">
- <FlowPane.margin>
- <Insets right="2.0" />
- </FlowPane.margin>
- </Label>
- <TextField fx:id="txtExperience" editable="false" prefHeight="27.0" prefWidth="38.0">
- <FlowPane.margin>
- <Insets right="5.0" />
- </FlowPane.margin>
- </TextField>
- <Label fx:id="lblHeight" text="Height:">
- <FlowPane.margin>
- <Insets right="2.0" />
- </FlowPane.margin>
- </Label>
- <TextField fx:id="txtHeight" editable="false" prefHeight="27.0" prefWidth="36.0">
- <FlowPane.margin>
- <Insets right="5.0" />
- </FlowPane.margin>
- </TextField>
- <Label fx:id="lblWeight" text="Weight:">
- <FlowPane.margin>
- <Insets right="2.0" />
- </FlowPane.margin>
- </Label>
- <TextField fx:id="txtWeight" editable="false" prefHeight="27.0" prefWidth="41.0" />
- </children>
- </FlowPane>
- </children>
- </HBox>
- <HBox fx:id="hbxMain" layoutX="14.0" layoutY="56.0" prefHeight="322.0" prefWidth="682.0">
- <children>
- <VBox fx:id="vbxOne" prefHeight="200.0" prefWidth="100.0" />
- <VBox fx:id="vbxTwo" prefHeight="200.0" prefWidth="100.0" />
- <VBox fx:id="vbxThree" prefHeight="200.0" prefWidth="100.0" />
- <VBox fx:id="vbxFour" prefHeight="200.0" prefWidth="188.0" />
- </children>
- </HBox>
- </children>
- </Pane>
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement