Building an audio player in Java