Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problems importing sun.audio.*

 
Tom Bigford
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi - I have a pice of dual purpose code that uses sun.audio.AudioStream and sun.audio.AudioPlayer. It runs fine as an app but when i try to run in appletviewer - I get a security exception at the line of code that represents the first import:
import sun.audio.AudioStream;
Any idea how to resolve this? this applet is intended to run on the internet so policy files may not be the answer ???
TIA - tom
 
Tom Bigford
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No replies so i'll reply to myself about what i have found so far...
sun.audio it turns out is "undocumented" and may not be available in later releases and may not be maintained either ... so I may try to dig it out of the code... The whole reason it was there was to manage sound in an app - any other ideas?
TIA - Tom
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic