GeeCON Prague 2014*
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


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

 
GeeCON Prague 2014
 
subject: Music