Skip to main content
July 12, 2008
Question

Sounds

  • July 12, 2008
  • 1 reply
  • 212 views
I need to play a piano sound when I press a certain letter key. Please help.
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
July 13, 2008
use a key listener to execute code whenever your key is pressed and within the listener attach and play your sound using the sound class.