-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathselection.fxml
36 lines (34 loc) · 2.16 KB
/
selection.fxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.RadioButton?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.text.Font?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="1068.0" style="-fx-background-color: blue;" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sample.selectionc">
<children>
<AnchorPane layoutX="194.0" layoutY="100.0" prefHeight="400.0" prefWidth="600.0" style="-fx-background-color: white;" AnchorPane.bottomAnchor="100.0" AnchorPane.leftAnchor="194.0" AnchorPane.rightAnchor="206.0" AnchorPane.topAnchor="100.0">
<children>
<RadioButton layoutX="200.0" layoutY="183.0" mnemonicParsing="false" onAction="#c1" text="Food Donater" AnchorPane.leftAnchor="200.0" AnchorPane.rightAnchor="279.0">
<font>
<Font size="24.0" />
</font>
</RadioButton>
<RadioButton layoutX="200.0" layoutY="258.0" mnemonicParsing="false" onAction="#ngo" prefHeight="35.0" prefWidth="164.0" text="N.G.O" AnchorPane.leftAnchor="200.0" AnchorPane.rightAnchor="304.0">
<font>
<Font size="24.0" />
</font>
</RadioButton>
<TextField layoutX="164.0" layoutY="82.0" prefHeight="39.0" prefWidth="327.0" style="-fx-alignment: center; -fx-background-color: yellow;" text="Please select any one option" AnchorPane.leftAnchor="164.0" AnchorPane.rightAnchor="186.0">
<font>
<Font name="System Bold" size="18.0" />
</font>
</TextField>
<Button layoutX="233.0" layoutY="336.0" mnemonicParsing="false" onAction="#back2" prefHeight="25.0" prefWidth="179.0" style="-fx-alignment: CENTER; -fx-background-color: #AAFFFF;" text="BACK" underline="true">
<font>
<Font name="System Italic" size="18.0" />
</font>
</Button>
</children>
</AnchorPane>
</children>
</AnchorPane>