From e603340839dbdca7ece1b0be6db3cf759fe2a30e Mon Sep 17 00:00:00 2001 From: alpina0707 Date: Thu, 10 Feb 2022 16:48:45 +0100 Subject: [PATCH] added first region to changeRegion() --- src/main/java/device/radioPlayer/RadioPlayer.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/device/radioPlayer/RadioPlayer.java b/src/main/java/device/radioPlayer/RadioPlayer.java index 61763ea..7bf5da1 100644 --- a/src/main/java/device/radioPlayer/RadioPlayer.java +++ b/src/main/java/device/radioPlayer/RadioPlayer.java @@ -15,6 +15,7 @@ public class RadioPlayer implements Device { } ArrayList Playlist=new ArrayList(); + int Lautstaerke = 0; String playTrack=""; @@ -27,7 +28,12 @@ public class RadioPlayer implements Device { } public void changeRegion(){ - + Playlist.clear(); + Playlist.add("Antenne Bayern"); + Playlist.add("Bayern 1"); + Playlist.add("Bayern 3"); + Playlist.add("Hit Radio N1"); + playTrack=Playlist.get(0); } @Override