i needed to play mp3 audio in my AudioPlayer project
i found jlayer is the easiest way to play mp3 audio,it plays well but can't stop playing
my GUI stops responding until the audio is finished!
any help please
this is the code of the playing button
-chooser is a jfilechooser object
file=chooser.getSelectedFile(); FileInputStream f=new FileInputStream(file); ap=new AdvancedPlayer(f); ap=new AdvancedPlayer(f); ap.play();
and in the stop button