Sorry but your question is totally cryptic .... a JButton, by itself has nothing to do, directly, with sound. Explain what are you using to handle sounds, what is your user interface, what that...