-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwin.fxml
executable file
·37 lines (35 loc) · 1.74 KB
/
win.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
37
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.text.Font?>
<AnchorPane id="AnchorPane" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1" fx:controller="grid.AlertMes">
<children>
<ImageView fitHeight="422.0" fitWidth="619.0" layoutX="-10.0" layoutY="-6.0" pickOnBounds="true">
<image>
<Image url="@winner.jpg" />
</image>
</ImageView>
<AnchorPane layoutX="138.0" prefHeight="200.0" prefWidth="310.0">
<children>
<Button layoutX="21.0" layoutY="25.0" mnemonicParsing="false" onAction="#playAgain" prefHeight="88.0" prefWidth="95.0" style="-fx-background-radius: 20000; -fx-text-fill: WHITE; -fx-background-color: #005BB0;" text="Play Again" textAlignment="CENTER" wrapText="true">
<font>
<Font size="20.0" />
</font>
</Button>
<Button layoutX="189.0" layoutY="28.0" mnemonicParsing="false" onAction="#mainMenu" prefHeight="88.0" prefWidth="95.0" style="-fx-background-radius: 20000; -fx-text-fill: WHITE; -fx-background-color: #005BB0;" text="Main Menu" textAlignment="CENTER" wrapText="true">
<font>
<Font size="20.0" />
</font>
</Button>
</children>
</AnchorPane>
<Label text="${player}" fx:id="lab" layoutX="164.0" layoutY="182.0" prefHeight="106.0" prefWidth="272.0">
<font>
<Font size="65.0" />
</font>
</Label>
</children>
</AnchorPane>