Erster Versuch mit Screen

This commit is contained in:
2021-11-15 15:38:01 +01:00
parent 319ceab4d2
commit 9938c3c239
16 changed files with 31 additions and 22 deletions

View File

@@ -1,15 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.image.*?>
<?import javafx.scene.layout.*?>
<AnchorPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="com.example.happy_bird.HappyBird"
prefHeight="400.0" prefWidth="600.0">
<VBox prefHeight="578.0" prefWidth="700.0" xmlns="http://javafx.com/javafx/11.0.2" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.happy_bird.HappyBird">
<Label>Test</Label>
</AnchorPane>
<ImageView>
<image>
<Image url="@screen.png" />
</image>
</ImageView>
</VBox>

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB