Adding style.css

This commit is contained in:
2026-07-17 10:37:17 +03:30
parent 58536d2bce
commit 23e33473f8
3 changed files with 55 additions and 0 deletions
+3
View File
@@ -16,6 +16,9 @@ public class MusicApp extends Application {
Scene scene = new Scene(fxmlLoader.load());
stage.setTitle("Music Player");
stage.setScene(scene);
scene.getStylesheets().add(
MusicApp.class.getResource("style.css").toExternalForm()
);
//TODO: add icon to the stage
stage.show();
}