• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with sounds

 
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: 5148
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic