File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes a little sound Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "a little sound" Watch "a little sound" New topic

a little sound

ezekiel diligene

Joined: Dec 01, 2005
Posts: 5
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

Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2398
Have you looked at the API docs for 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.
I agree. Here's the link:
subject: a little sound
It's not a secret anymore!