if ( sound != null ) sound.play();
sound = getAudioClip( getClass().getResource(getParameter("sound")) ); Button button = new Button("Play Sound"); button.addActionListener( this ); add ( button );