*
The moose likes Swing / AWT / SWT and the fly likes Music Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Music" Watch "Music" New topic
Author

Music

Justin Fox
Ranch Hand

Joined: Jan 24, 2006
Posts: 802
how do you go about adding an AudioClip to your GUI?

AudioClip current = new AudioClip(url);


where:


url = new URL ("file","localhost","DiaryOfJane.wav");

???

Justin


You down with OOP? Yeah you know me!
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
here's the simple version - but look at MediaTracker

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Music
 
Similar Threads
Playing Sound in Applet
Sound Problem
why is it so??
interfaces
How to use AudioClips in applet