The Java Audio Player is a nice Java library that offers you a simple method to play audio files. Just choose the file location and hit the Play button to start listening your favorite tracks.
The location can also be an URL. In this case the player will play and download the file simultaneously and will pause if the download speed is very low.