MassRS Posted January 7, 2016 Posted January 7, 2016 Is there anyway to play a sound when an action has been done?
ascentium Posted January 7, 2016 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
MassRS Posted January 7, 2016 Author 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...