Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <?import javafx.scene.control.*?>
- <?import java.lang.*?>
- <?import javafx.scene.layout.*?>
- <?import javafx.geometry.Insets?>
- <?import javafx.scene.layout.GridPane?>
- <?import javafx.scene.control.Button?>
- <?import javafx.scene.control.Label?>
- <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sample.Controller">
- <children>
- <Button layoutX="324.0" layoutY="64.0" mnemonicParsing="false" onAction="#clickOk" prefHeight="53.0" prefWidth="95.0" text="OK" />
- <TextField fx:id="idUpdate" layoutX="151.0" layoutY="53.0" prefHeight="19.0" prefWidth="149.0" />
- <TextField fx:id="priceUpdate" layoutX="151.0" layoutY="92.0" />
- <Label layoutX="43.0" layoutY="21.0" prefHeight="17.0" prefWidth="289.0" text="Введите ID блюда и его новую стоимость" />
- <Label layoutX="97.0" layoutY="57.0" prefHeight="17.0" prefWidth="26.0" text="ID:" />
- <Label layoutX="63.0" layoutY="96.0" prefHeight="17.0" prefWidth="74.0" text="Стоимость:" />
- <Label layoutX="43.0" layoutY="143.0" prefHeight="17.0" prefWidth="149.0" text="Добавить новое блюдо:" />
- <TextField fx:id="name" layoutX="137.0" layoutY="188.0" />
- <TextField fx:id="mass" layoutX="137.0" layoutY="219.0" />
- <TextField fx:id="calories" layoutX="137.0" layoutY="250.0" />
- <TextField fx:id="type" layoutX="137.0" layoutY="283.0" />
- <TextField fx:id="price" layoutX="137.0" layoutY="317.0" />
- <TextField fx:id="minutes" layoutX="137.0" layoutY="350.0" />
- <TextField fx:id="id" layoutX="137.0" layoutY="160.0" />
- <Label layoutX="94.0" layoutY="164.0" prefHeight="17.0" prefWidth="32.0" text="ID:" />
- <Label layoutX="74.0" layoutY="192.0" prefHeight="17.0" prefWidth="52.0" text="NAME:" />
- <Label layoutX="77.0" layoutY="223.0" prefHeight="17.0" prefWidth="52.0" text="MASS:" />
- <Label layoutX="62.0" layoutY="254.0" prefHeight="17.0" prefWidth="74.0" text="CALORIES:" />
- <Label layoutX="83.0" layoutY="287.0" prefHeight="17.0" prefWidth="40.0" text="TYPE:" />
- <Label layoutX="80.0" layoutY="321.0" prefHeight="17.0" prefWidth="40.0" text="PRICE:" />
- <Label layoutX="70.0" layoutY="354.0" prefHeight="17.0" prefWidth="66.0" text="MINUTES:" />
- <Button layoutX="324.0" layoutY="263.0" mnemonicParsing="false" onAction="#clickAdd" prefHeight="66.0" prefWidth="95.0" text="Добавить" />
- </children>
- </AnchorPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement