Advertisement
Guest User

dxml

a guest
Apr 19th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. ```java
  2. <?xml version="1.0" encoding="UTF-8"?>
  3.  
  4. <?import javafx.geometry.Insets?>
  5. <?import javafx.scene.control.Button?>
  6. <?import javafx.scene.control.ComboBox?>
  7. <?import javafx.scene.control.Label?>
  8. <?import javafx.scene.control.TextField?>
  9. <?import javafx.scene.layout.FlowPane?>
  10. <?import javafx.scene.layout.HBox?>
  11. <?import javafx.scene.layout.Pane?>
  12. <?import javafx.scene.layout.VBox?>
  13.  
  14. <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">
  15. <children>
  16. <HBox layoutX="5.0" layoutY="6.0" prefHeight="37.0" prefWidth="699.0">
  17. <children>
  18. <FlowPane hgap="10.0" prefHeight="54.0" prefWidth="469.0">
  19. <children>
  20. <Label alignment="CENTER_RIGHT" prefHeight="17.0" prefWidth="79.0" text="Employees:" />
  21. <ComboBox id="cboNames" fx:id="cboNames" prefWidth="150.0" />
  22. <Button id="btnGetInfo" fx:id="btnGetInfo" mnemonicParsing="false" onMouseClicked="#handleButtonAction" prefHeight="27.0" prefWidth="80.0" text="Get Info" />
  23. </children>
  24. </FlowPane>
  25. <FlowPane fx:id="flpDemos" prefHeight="54.0" prefWidth="380.0">
  26. <children>
  27. <Label fx:id="lblExperience" text="Experience:">
  28. <FlowPane.margin>
  29. <Insets right="2.0" />
  30. </FlowPane.margin>
  31. </Label>
  32. <TextField fx:id="txtExperience" editable="false" prefHeight="27.0" prefWidth="38.0">
  33. <FlowPane.margin>
  34. <Insets right="5.0" />
  35. </FlowPane.margin>
  36. </TextField>
  37. <Label fx:id="lblHeight" text="Height:">
  38. <FlowPane.margin>
  39. <Insets right="2.0" />
  40. </FlowPane.margin>
  41. </Label>
  42. <TextField fx:id="txtHeight" editable="false" prefHeight="27.0" prefWidth="36.0">
  43. <FlowPane.margin>
  44. <Insets right="5.0" />
  45. </FlowPane.margin>
  46. </TextField>
  47. <Label fx:id="lblWeight" text="Weight:">
  48. <FlowPane.margin>
  49. <Insets right="2.0" />
  50. </FlowPane.margin>
  51. </Label>
  52. <TextField fx:id="txtWeight" editable="false" prefHeight="27.0" prefWidth="41.0" />
  53. </children>
  54. </FlowPane>
  55. </children>
  56. </HBox>
  57. <HBox fx:id="hbxMain" layoutX="14.0" layoutY="56.0" prefHeight="322.0" prefWidth="682.0">
  58. <children>
  59. <VBox fx:id="vbxOne" prefHeight="200.0" prefWidth="100.0" />
  60. <VBox fx:id="vbxTwo" prefHeight="200.0" prefWidth="100.0" />
  61. <VBox fx:id="vbxThree" prefHeight="200.0" prefWidth="100.0" />
  62. <VBox fx:id="vbxFour" prefHeight="200.0" prefWidth="188.0" />
  63. </children>
  64. </HBox>
  65. </children>
  66. </Pane>
  67. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement