File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
why is it so??
Sound Problem
Playing Sound in Applet
How to use AudioClips in applet