title: Playing a Sound Effect in Java
body: <p>I'm trying to do the equivalent of this line of code, except substituting a small mp3 file for the system beep:</p>
  
  <pre><code>Toolkit.getDefaultToolkit().beep();
  </code></pre>
  
  <p>I have an mp3 file that has a little sound effect that I want to play. Is this a relatively easy thing to do? Can somebody show me the code to do this?</p>