Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <?import java.lang.*?>
  4. <?import java.util.*?>
  5. <?import javafx.collections.*?>
  6. <?import javafx.scene.*?>
  7. <?import javafx.scene.control.*?>
  8. <?import javafx.scene.layout.*?>
  9. <?import javafx.scene.text.*?>
  10.  
  11. <AnchorPane id="AnchorPane" prefHeight="510.0" prefWidth="600.0" style="-fx-background-radius: 15;&#10;&#10;-fx-background-color:gold; " xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/2.2" fx:controller="javafxapplication2.LoginPageController">
  12. <children>
  13. <Button fx:id="confirm" layoutX="197.0" layoutY="381.0" mnemonicParsing="false" onAction="#confirmButton" prefHeight="40.0" prefWidth="176.0" style="-fx-background-color:black;&#10;&#10;-fx-background-radius:35;" text="Confirm" textFill="WHITE">
  14. <font>
  15. <Font name="System Bold" size="15.0" />
  16. </font>
  17. </Button>
  18. <VBox layoutX="119.0" layoutY="111.0" prefHeight="238.0" prefWidth="304.0" spacing="18.0">
  19. <children>
  20. <Label fx:id="enterName" text="Enter Id">
  21. <font>
  22. <Font name="System Bold Italic" size="14.0" fx:id="x1" />
  23. </font>
  24. </Label>
  25. <TextField id="as" fx:id="id" prefHeight="29.0" prefWidth="135.0" />
  26. <Label fx:id="enterPass" font="$x1" text="Enter Password" />
  27. <PasswordField id="pass" fx:id="password" prefHeight="29.0" prefWidth="200.0" />
  28. <Label font="$x1" prefHeight="21.0" text="Student/Teacher" />
  29. <ChoiceBox fx:id="Identity" style="-fx-background-color:white;&#10;-fx-font-weight:bold;&#10;-fx-background-radius:35;">
  30. <items>
  31. <FXCollections fx:factory="observableArrayList">
  32. <String fx:value="Item 1" />
  33. <String fx:value="Item 2" />
  34. <String fx:value="Item 3" />
  35. </FXCollections>
  36. </items>
  37. </ChoiceBox>
  38. </children>
  39. </VBox>
  40. <Label layoutX="228.0" layoutY="34.0" text="Login">
  41. <font>
  42. <Font name="System Bold" size="24.0" />
  43. </font>
  44. </Label>
  45. <Button fx:id="back" layoutX="30.0" layoutY="30.0" mnemonicParsing="false" onAction="#back" style="-fx-background-color:red;&#10;&#10;-fx-background-radius:35;" text="Back" textFill="WHITE">
  46. <font>
  47. <Font name="System Bold" size="12.0" />
  48. </font>
  49. </Button>
  50. </children>
  51. </AnchorPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement