MassRS Posted January 7, 2016 Share Posted January 7, 2016 Is there anyway to play a sound when an action has been done? Quote Link to comment Share on other sites More sharing options...
ascentium Posted January 7, 2016 Share Posted January 7, 2016 (edited) I think the easiest way is to use a Clip. There is a fairly simple example here: https://www3.ntu.edu.sg/home/ehchua/programming/java/J8c_PlayingSound.html When would you want the sound to play? Edited January 7, 2016 by ascentium Quote Link to comment Share on other sites More sharing options...
MassRS Posted January 7, 2016 Author Share Posted January 7, 2016 I think the easiest way is to use a Clip. There is a fairly simple example here: https://www3.ntu.edu.sg/home/ehchua/programming/java/J8c_PlayingSound.html When would you want the sound to play? Thanks got it working! Are you trying to play subliminal messages to make people turn to satan? You know too much... Quote Link to comment Share on other sites More sharing options...