I have a gui using the jframe template and am wondeing if it is at all possible for me to add a short sound to file inside an introduction screen on it own.
I would be very greatefull for any results thanks
posted 10 years ago
Have you looked at the API docs for Applet.java. There is a new static method called newAudioClip that will let you load an AudioClip from a URL. If you have a local file, I believe there is a method in File that lets you convert a File to a URL.