Hilfe
This commit is contained in:
commit
a2aafe8b88
1
Happy_Bird/.idea/.name
generated
Normal file
1
Happy_Bird/.idea/.name
generated
Normal file
@ -0,0 +1 @@
|
||||
HappyBirdMain.java
|
Binary file not shown.
@ -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>
|
||||
|
||||
|
Binary file not shown.
@ -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();
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user