This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes how  to add sound  on  clicking   button in  a panel Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "how  to add sound  on  clicking   button in  a panel" Watch "how  to add sound  on  clicking   button in  a panel" New topic
Author

how to add sound on clicking button in a panel

rehans oberoi
Ranch Hand

Joined: Dec 06, 2005
Posts: 174
hi , can anybody tell me ,
how to add sound on clicking button in a panel
thanks
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16487
    
    2

There are two parts to this question: doing something when a button is clicked, and playing a sound. ("Add sound" means to play a sound, right?) Which part are you having the problem with?
rehans oberoi
Ranch Hand

Joined: Dec 06, 2005
Posts: 174
which java api i have to used for playing a sound
file in a java console application
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to add sound on clicking button in a panel
 
Similar Threads
Framing within GridBagLayout
Prevent Popup from closing when clicking on J(CheckBox)MenuItem
GUI control
How to load audio clips using java?
repaint problem