-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.fxml
16 lines (14 loc) · 1.02 KB
/
sample.fxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<AnchorPane prefHeight="400.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bham.fsd.assignments.jabberserver.MainController">
<children>
<TextField fx:id="T1" layoutX="96.0" layoutY="147.0" prefHeight="25.0" prefWidth="220.0" />
<Button fx:id="B1" layoutX="175.0" layoutY="247.0" mnemonicParsing="false" onAction="#login" prefHeight="25.0" prefWidth="60.0" text="Sign in" />
<Button fx:id="B2" layoutX="176.0" layoutY="292.0" mnemonicParsing="false" onAction="#register" text="Register" />
<Label fx:id="lblStatus" layoutX="183.0" layoutY="74.0" text="Jabber" />
<Button fx:id="B4" layoutX="165.0" layoutY="341.0" mnemonicParsing="false" onAction="#signingOut" prefHeight="25.0" prefWidth="81.0" text="Disconnect" />
</children>
</AnchorPane>