• 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

AudioClip Instance In An Applet

Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,
I have implemented the following line in my chat application, 'ac.play()' where ac is an instance of AudioClip. Sometimes it's working fine, but sometimes destroy() method of an applet is called automatically, eventhough I have not closed the browser's window. Iam not able to trace this uneven behaviour eventhough I have embedded, 'ac.play()' stmt. in a try - catch block. Finally in javaconsole window of IE, 'no audio device' is displayed. Can any one help me how to overcome this strange behavior of AudioClip.play() method.

Ch.Praveen Kumar.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!