You should not be reading the sound file in each time you play it. You only have to read it in once.
Recommended reading: Lesson: Exceptions (The Java™ Tutorials > Essential Classes)
Type: Posts; User: KevinWorkman
You should not be reading the sound file in each time you play it. You only have to read it in once.
Recommended reading: Lesson: Exceptions (The Java™ Tutorials > Essential Classes)