aspose file tools*
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 Java 8 in Action this week in the Java 8 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
interfaces
How to use AudioClips in applet
Sound Problem
Playing Sound in Applet
why is it so??