Sunday, 8 September 2013

Add sound effect when a button is pressed

Add sound effect when a button is pressed

I have created a simple desktop application (MCQ simulator) in Java Swing.
Now I want a simple sound to be generated (may be MP3 file residing on
disk) when user presses a button (continue or submit button).
What are the suitable built-in class/methods for the same?

No comments:

Post a Comment