Java, Playing Music?
I really want to play music into my game, what is a game without music? How do I do? When I try to use the AudioPlayer & stuff I just get the message:
Access restriction: The type AudioPlayer is not accessible due to restriction on required library C:\Program Files (x86)\Java\jre6\lib\rt.jar
Any other possible way to do it? Or any solution?
What's AudioPlayer? There's no class of that name in the standard JDK.
Check out the static method of the Applet class that allows you to load an AudioClip, and the methods of that class for how to play it.
Can I get any help with how I use music? Any API? Anything?
Not until you tell us why the help already provided wasn't useful.