adding App-view.fxml
This commit is contained in:
@@ -1,8 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<VBox xmlns="http://javafx.com/fxml" alignment="CENTER" spacing="10">
|
||||
|
||||
<!-- TODO: Add your code here! -->
|
||||
<VBox xmlns="http://javafx.com/javafx/21"
|
||||
xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="sbu.javafx.MusicController"
|
||||
alignment="CENTER"
|
||||
spacing="10">
|
||||
|
||||
</VBox>
|
||||
<Label fx:id="nowPlayingLabel" text="Now Playing: None"/>
|
||||
<HBox spacing="10" alignment="CENTER">
|
||||
<Label text="Blinding Lights"/>
|
||||
<Label text="The Weeknd"/>
|
||||
<Label text="3:20"/>
|
||||
<Button text="Play" onAction="#handlePlayAction"/>
|
||||
<Button text="Add to Playlist"/>
|
||||
</HBox>
|
||||
<HBox spacing="10" alignment="CENTER">
|
||||
<Label text="Shape of You"/>
|
||||
<Label text="Ed Sheeran"/>
|
||||
<Label text="4:02"/>
|
||||
<Button text="Play" onAction="#handlePlayAction"/>
|
||||
<Button text="Add to Playlist"/>
|
||||
</HBox>
|
||||
<HBox spacing="10" alignment="CENTER">
|
||||
<Label text="Believer"/>
|
||||
<Label text="Imagine Dragons"/>
|
||||
<Label text="3:24"/>
|
||||
<Button text="Play" onAction="#handlePlayAction"/>
|
||||
<Button text="Add to Playlist"/>
|
||||
</HBox>
|
||||
|
||||
<Button text="View Playlist" onAction="#openPlaylistWindow"/>
|
||||
|
||||
</VBox>
|
||||
Reference in New Issue
Block a user