add show/add playlist button
This commit is contained in:
@@ -25,7 +25,7 @@ public class Song {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
String result = getSongName() + " By " + getArtist();
|
String result = getSongName() + " by " + getArtist();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,9 +17,11 @@
|
|||||||
<bottom>
|
<bottom>
|
||||||
<HBox spacing="10" alignment="CENTER">
|
<HBox spacing="10" alignment="CENTER">
|
||||||
<Button text="Previous" onAction="#handlePrevious"/>
|
<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="Next" onAction="#handlenext"/>
|
||||||
<Button text="add to playlist" onAction="#addToPlaylist"/>
|
<Button text="add to playlist" onAction="#addToPlaylist"/>
|
||||||
|
<Button text="show playList" onAction="#openPlaylistWindow"/>
|
||||||
|
<Button text="show all songs" onAction="#openAllSongs"/>
|
||||||
</HBox>
|
</HBox>
|
||||||
</bottom>
|
</bottom>
|
||||||
</BorderPane>
|
</BorderPane>
|
||||||
|
|||||||
Reference in New Issue
Block a user