Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <?import java.lang.*?>
- <?import java.util.*?>
- <?import javafx.collections.*?>
- <?import javafx.scene.*?>
- <?import javafx.scene.control.*?>
- <?import javafx.scene.layout.*?>
- <?import javafx.scene.text.*?>
- <AnchorPane id="AnchorPane" prefHeight="510.0" prefWidth="600.0" style="-fx-background-radius: 15; -fx-background-color:gold; " xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/2.2" fx:controller="javafxapplication2.LoginPageController">
- <children>
- <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; -fx-background-radius:35;" text="Confirm" textFill="WHITE">
- <font>
- <Font name="System Bold" size="15.0" />
- </font>
- </Button>
- <VBox layoutX="119.0" layoutY="111.0" prefHeight="238.0" prefWidth="304.0" spacing="18.0">
- <children>
- <Label fx:id="enterName" text="Enter Id">
- <font>
- <Font name="System Bold Italic" size="14.0" fx:id="x1" />
- </font>
- </Label>
- <TextField id="as" fx:id="id" prefHeight="29.0" prefWidth="135.0" />
- <Label fx:id="enterPass" font="$x1" text="Enter Password" />
- <PasswordField id="pass" fx:id="password" prefHeight="29.0" prefWidth="200.0" />
- <Label font="$x1" prefHeight="21.0" text="Student/Teacher" />
- <ChoiceBox fx:id="Identity" style="-fx-background-color:white; -fx-font-weight:bold; -fx-background-radius:35;">
- <items>
- <FXCollections fx:factory="observableArrayList">
- <String fx:value="Item 1" />
- <String fx:value="Item 2" />
- <String fx:value="Item 3" />
- </FXCollections>
- </items>
- </ChoiceBox>
- </children>
- </VBox>
- <Label layoutX="228.0" layoutY="34.0" text="Login">
- <font>
- <Font name="System Bold" size="24.0" />
- </font>
- </Label>
- <Button fx:id="back" layoutX="30.0" layoutY="30.0" mnemonicParsing="false" onAction="#back" style="-fx-background-color:red; -fx-background-radius:35;" text="Back" textFill="WHITE">
- <font>
- <Font name="System Bold" size="12.0" />
- </font>
- </Button>
- </children>
- </AnchorPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement