уже не помню...
@ -5,14 +5,12 @@ import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
|
||||
public class ApplicationMissileCruiser extends Application {
|
||||
@Override
|
||||
public void start(Stage stage) throws IOException {
|
||||
FXMLLoader fxmlLoader = new FXMLLoader(ApplicationMissileCruiser.class.getResource("ViewMissileCruiser.fxml"));
|
||||
FXMLLoader fxmlLoader = new FXMLLoader(ApplicationMissileCruiser.class.getResource("images/ViewMissileCruiser.fxml"));
|
||||
|
||||
Scene scene = new Scene(fxmlLoader.load(), 900, 500);
|
||||
|
||||
|
@ -1,8 +1,5 @@
|
||||
package kvr.missilecruiser_hard;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Arrays;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.image.Image?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="500.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/null" xmlns:fx="http://javafx.com/fxml/1" fx:controller="kvr.missilecruiser_hard.ControllerMissileCruiser">
|
||||
<children>
|
||||
<Button layoutX="14.0" layoutY="457.0" mnemonicParsing="false" onAction="#buttonCreate_Click" prefHeight="30.0" prefWidth="98.0" text="Создать">
|
||||
<font>
|
||||
<Font size="14.0" />
|
||||
</font></Button>
|
||||
<Button layoutX="846.0" layoutY="447.0" mnemonicParsing="false" onAction="#buttonsMove_Click" prefHeight="40.0" prefWidth="40.0" style="-fx-background-image: url("arrowRight.png"); -fx-background-size: 85%; -fx-background-position: center; -fx-background-repeat: space; -fx-effect: bhb;" />
|
||||
<ImageView fitHeight="40.0" fitWidth="40.0" layoutX="346.0" layoutY="204.0">
|
||||
<image>
|
||||
<Image url="@../../arrowLeft.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
</children>
|
||||
</font>
|
||||
</Button>
|
||||
<Button layoutX="846.0" layoutY="446.0" mnemonicParsing="false" onAction="#buttonsMove_Click" prefHeight="40.0" prefWidth="40.0" style="-fx-background-image: url("kvr.missilecruiser_hard/arrowRight.png"); -fx-background-size: 85%; -fx-background-position: center; -fx-background-repeat: space;" AnchorPane.bottomAnchor="14.0" AnchorPane.rightAnchor="14.0" />
|
||||
</AnchorPane>
|
||||
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |