permaculture playing cards*
The moose likes Swing / AWT / SWT and the fly likes How i can play a wav file when a button pressed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How i can play a wav file when a button pressed" Watch "How i can play a wav file when a button pressed" New topic
Author

How i can play a wav file when a button pressed

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
Hi
Thank you for reading my post
How i can play sound file in Java ?
I need to play a wav file when user press a button , is it possible ?
can you pleas explain me ?
Thank you
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
try this

 
Don't get me started about those stupid light bulbs.
 
subject: How i can play a wav file when a button pressed