This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Problem in playing audio in Applet

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,
I am facing a problem in running audio (.mid) file from Applet.
It is a very simple applet, nothing complicated in it.
I am trying this in IE (Internet Explorer). At few computers this applet is playing the
midi perfectly. In some computers it is not played at all. In some computers,
browser is not able to load this applet.
I have j2sdk1.4.1 at my computer & compiled it on this version. But again to be
doubly sure I have compiled it in j2sdk1.3.1.
Now what happens, browsers on computers which have j2sdk1.4.1, are able to run
the applet & midi is played. But those who have lower java vesrions are not
able to run it, inspite of having the same browse (IE 5.0 or IE 5.5).
Some browser (IE) shows null pointer exception or unable to load applet.
Does running of applet has anything to do with the system jdk/jre or it is the
browsers jre only which matters.
If i compile this applet in jdk1.2.2 etc, will it make any difference.
Netscape gives some error like bad version number etc.
In this applet, I am not using any jar or signed certificate etc. It is
very simple & small applet. It access the midi path through http://.
Can any one guide me what may be the probelm & what could be the solution.
Please help me out.........
Thanks,
Manoj
 
The only taste of success some people get is to take a bite out of you. Or this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic