File tree Expand file tree Collapse file tree 1 file changed +33
-8
lines changed Expand file tree Collapse file tree 1 file changed +33
-8
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22
3- <?import java .lang.*?>
4- <?import java .net.*?>
5- <?import java .util.*?>
6- <?import javafx .scene.*?>
7- <?import javafx .scene.control.*?>
8- <?import javafx .scene.layout.*?>
3+ <?import java .net.URL?>
4+ <?import javafx .scene.control.Button?>
5+ <?import javafx .scene.control.Menu?>
6+ <?import javafx .scene.control.MenuBar?>
7+ <?import javafx .scene.control.MenuItem?>
8+ <?import javafx .scene.layout.AnchorPane?>
9+ <?import javafx .scene.layout.BorderPane?>
10+ <?import javafx .scene.layout.HBox?>
911
10- <AnchorPane id =" AnchorPane" prefHeight =" 400.0" prefWidth =" 600.0" styleClass =" mainFxmlClass" xmlns : fx =" http://javafx.com/fxml/1" >
12+ <AnchorPane id =" AnchorPane" prefHeight =" 400.0" prefWidth =" 600.0" styleClass =" mainFxmlClass" xmlns = " http://javafx.com/javafx/8.0.111 " xmlns : fx =" http://javafx.com/fxml/1" >
1113 <stylesheets >
12- <URL value =" @scaleplayer.fxml.css" />
14+ <URL value =" @scaleplayer.fxml.css" />
1315 </stylesheets >
16+ <children >
17+ <BorderPane prefHeight =" 400.0" prefWidth =" 600.0" >
18+ <top >
19+ <MenuBar prefHeight =" 29.0" prefWidth =" 138.0" BorderPane.alignment=" CENTER" >
20+ <menus >
21+ <Menu mnemonicParsing =" false" text =" File" >
22+ <items >
23+ <MenuItem mnemonicParsing =" false" text =" Close" />
24+ </items >
25+ </Menu >
26+ </menus >
27+ </MenuBar >
28+ </top >
29+ <center >
30+ <HBox alignment =" CENTER" prefHeight =" 371.0" prefWidth =" 358.0" style =" -fx-spacing: 20;" BorderPane.alignment=" CENTER" >
31+ <children >
32+ <Button alignment =" CENTER" mnemonicParsing =" false" pickOnBounds =" false" style =" -fx-background-color: lightgreen; -fx-border-color: green;" text =" Start Playing" />
33+ <Button alignment =" CENTER" mnemonicParsing =" false" style =" -fx-background-color: pink; -fx-border-color: red;" text =" Play Scale" />
34+ </children >
35+ </HBox >
36+ </center >
37+ </BorderPane >
38+ </children >
1439</AnchorPane >
You can’t perform that action at this time.
0 commit comments