Compare commits

...

2 Commits

Author SHA1 Message Date
8aabc3f235 Konflikt lösen 2021-11-17 09:18:53 +01:00
4e7b664325 test 2021-11-17 09:04:45 +01:00
12 changed files with 6 additions and 6 deletions

View File

@ -1 +1 @@
HappyBird.java
HappyBirdMain.java

View File

@ -3,11 +3,11 @@
<?import javafx.scene.image.*?>
<?import javafx.scene.layout.*?>
<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">
<VBox prefHeight="800.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">
<ImageView>
<image>
<Image url="@screen.png" />
<Image url="@pics/Background.png" />
</image>
</ImageView>

View File

@ -20,7 +20,7 @@ public class HappyBirdMain extends Application {
@Override
public void start(Stage stage) throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("happyBird.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 578, 700);
Scene scene = new Scene(fxmlLoader.load(), 800, 700);
stage.setTitle("HappyBird");
stage.setScene(scene);
stage.show();

View File

@ -3,11 +3,11 @@
<?import javafx.scene.image.*?>
<?import javafx.scene.layout.*?>
<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">
<VBox prefHeight="800.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">
<ImageView>
<image>
<Image url="@screen.png" />
<Image url="@pics/Background.png" />
</image>
</ImageView>