adding buttons repeat and mute

This commit is contained in:
2026-05-28 16:44:10 +03:30
parent dc60e5954f
commit ef31487a02
11 changed files with 97 additions and 15 deletions
+11 -2
View File
@@ -18,18 +18,27 @@ public class Main extends Application {
controller.musicsListView.getItems().addAll(
new Song("Blinding Lights", "The Weeknd"),
new Song("Flowers", "Miley Cyrus"),
new Song("As It Was", "Harry Styles")
new Song("As It Was", "Harry Styles"),
new Song("Comme des enfants", "Coert De Pirate"),
new Song("Slow Down", "GRAE"),
new Song("Cigarettes out the window", "TV Girl"),
new Song("Shape of My Heart", "Sting"),
new Song("deja vu", "Olivia Rodirgo"),
new Song("Do It To It", "Acraze"),
new Song("Bones", "Imagine Dragons"),
new Song("Bunker", "Balthazar")
);
controller.setupListView(controller.musicsListView);
Scene scene = new Scene(root, 600, 500);
Scene scene = new Scene(root, 500, 600);
scene.getStylesheets().add(
getClass().getResource("/css/light.css").toExternalForm()
);
primaryStage.setTitle("Music Player");
primaryStage.setScene(scene);
primaryStage.setResizable(false);
primaryStage.show();
}