title: How to create a mute option
body: <p>How do I create a function that toggles mute for the whole java application?</p>
  
  <p>Actually all the sound comes from an external applet I load in the application.</p>
  
  <p>The code for loading the applet is here: <a href="https://github.com/Tyilo/RS2Lite/blob/master/src/com/rs2lite/loader/GameAppletLoader.java" rel="nofollow">https://github.com/Tyilo/RS2Lite/blob/master/src/com/rs2lite/loader/GameAppletLoader.java</a></p>