I want to be able to play sound files in my program. Where should I look?
It works for me. Simple variant
public void makeSound(){ File lol = new File("somesound.wav"); try{ Clip clip = AudioSystem.getClip(); clip.open(AudioSystem.getAudioInputStream(lol)); clip.start(); } catch (Exception e){ e.printStackTrace(); } }