add show/add playlist button

This commit is contained in:
2026-05-28 12:08:34 +03:30
parent 7f647d4073
commit b85b875249
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ public class Song {
@Override
public String toString() {
String result = getSongName() + " By " + getArtist();
String result = getSongName() + " by " + getArtist();
return result;
}
}
+3 -1
View File
@@ -17,9 +17,11 @@
<bottom>
<HBox spacing="10" alignment="CENTER">
<Button text="Previous" onAction="#handlePrevious"/>
<Button text="Play/Pause" onAction="#handlePlayAction"/>
<Button fx:id="playButton" text="Play" onAction="#handlePlayAction"/>
<Button text="Next" onAction="#handlenext"/>
<Button text="add to playlist" onAction="#addToPlaylist"/>
<Button text="show playList" onAction="#openPlaylistWindow"/>
<Button text="show all songs" onAction="#openAllSongs"/>
</HBox>
</bottom>
</BorderPane>