refactor & release

This commit is contained in:
Emi Boucly 2025-03-27 13:46:05 +01:00
parent c902241230
commit 0e48e9a529
4 changed files with 27 additions and 15 deletions

View file

@ -3,16 +3,20 @@ package fr.emiko.graphicalapp;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.stage.Stage;
import javax.imageio.ImageIO;
import java.io.IOException;
import java.util.Objects;
public class DrawApplication extends Application {
@Override
public void start(Stage stage) throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(DrawApplication.class.getResource("draw-view.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 1280, 720);
stage.setTitle("PixelWriter");
stage.setTitle("Yet Another Collaborative Drawing App");
stage.getIcons().add(new Image(Objects.requireNonNull(getClass().getResourceAsStream("icon.png"))));
stage.setScene(scene);
stage.show();
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB