title: How to play .wav files with java
body: <p>I am trying to play a *.wav file with Java. I want it to do the following:<br>
  When a button is pressed, play a short beep sound.</p>
  
  <p>I have googled it, but most of the code wasn't working. Can someone give me a simple code snippet to play a .wav file?</p>