This commit is contained in:
Reza
2026-05-26 14:00:50 +03:30
parent fa5f8ab267
commit 26e0b071d0
7 changed files with 212 additions and 17 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.scene.image.Image;
import java.io.IOException;
@@ -16,7 +17,7 @@ public class MusicApp extends Application {
Scene scene = new Scene(fxmlLoader.load());
stage.setTitle("Music Player");
stage.setScene(scene);
//TODO: add icon to the stage
scene.getStylesheets().add(getClass().getResource("dark.css").toExternalForm());
stage.show();
}