This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Music" Watch "Music" New topic


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);


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



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:
subject: Music
It's not a secret anymore!