
if(e.getActionCommand(). equals("Stop")){ player.stop(); }
i am making an audio player in which i have to stop a song. on writing player.close() it pauses the song rather than stopping it. how should i stop the song keeping in mind i have to play another song later.

Please go through the following link:

but i am not playing mp3 on mobile..i want to make a normal audio player in java for computer
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.