void play() {
try {
AudioInputStream ais = new AudioInputStream(getClass().getResourceasAstream("/mysound.wav"));
Clip clip = AudioSystem.getClip();
clip.open(ais);
clip.start();
} catch (Exception ex) {
ex.printStackTrace();
}
}