• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

problems importing sun.audio.*

 
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
 
Honk if you love justice! And honk twice for tiny ads!
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic