Like This Site? 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Incredibly Easy Way to play Sounds : Java

Share this post!
 Vote this!

Do you want to add sound to your JAVA application? It's so incredibly easy! You'll usually use a sound player for video game Applets but you can use it for other things too. The class that plays these sounds is called an AudioClip. It's accepts .wav, .mid, and .au files as sounds.

Consider the following code for an Applet:  more...


Post a Comment