Adding style.css
This commit is contained in:
@@ -16,6 +16,9 @@ public class MusicApp extends Application {
|
||||
Scene scene = new Scene(fxmlLoader.load());
|
||||
stage.setTitle("Music Player");
|
||||
stage.setScene(scene);
|
||||
scene.getStylesheets().add(
|
||||
MusicApp.class.getResource("style.css").toExternalForm()
|
||||
);
|
||||
//TODO: add icon to the stage
|
||||
stage.show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user