Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with sounds  RSS feed

 
Pan Niko
Ranch Hand
Posts: 86
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I did't use sounds in my programs before, so i'm completly new on this. I'm using the structure below



I have problem with AudioStream type, underline it and says "Access restriction: The type AudioStream is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\rt.jar"

What is the problem. Also, there is any other way to insert sounds in the program?
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is any other way to insert sounds in the program?


static method Applet#newAudioClip(URL url)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!