Hey, I was wondering if anyone could give me some info on playing back audio (specifically mp3 and wav files) in java. I want some way of knowing when playback of one song has finished.

I decided that I want to write an mp3 player of sorts, and this would save me a lot of api wading. Any info would be a help.