Applet notinited

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajbala
    New Member
    • Oct 2006
    • 58

    Applet notinited

    Hi all,

    Am new to java.I want to play avi file.For that i got code in java.But now i want to call java applet in html.I tried for that but it shows "Applet notiniited" .Anybody tell me to overcome this problem.
  • horace1
    Recognized Expert Top Contributor
    • Nov 2006
    • 1510

    #2
    Originally posted by rajbala
    Hi all,

    Am new to java.I want to play avi file.For that i got code in java.But now i want to call java applet in html.I tried for that but it shows "Applet notiniited" .Anybody tell me to overcome this problem.
    have a look at the Sun tutorial on applets it may help
    http://java.sun.com/docs/books/tutorial/deployment/applet/index.html

    Comment

    • rajbala
      New Member
      • Oct 2006
      • 58

      #3
      Originally posted by horace1
      have a look at the Sun tutorial on applets it may help
      http://java.sun.com/docs/books/tutorial/deployment/applet/index.html
      Problem I face:

      I had a media player program in java , i want to run that program in Mozilla. For i wrote a JSP program and tag a plugin/embed/object for example

      1:
      <jsp:plugin type="applet" code="Clock2.cl ass"
      codebase="apple t" jreversion="1.2 " width="160" height="150" >
      <jsp:fallback >
      Plugin tag OBJECT or EMBED not supported by browser.
      </jsp:fallback>
      </jsp:plugin>

      2:
      <object
      classid =" clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
      codebase ="
      http://java.sun.com/update/1.4.2/jinstall-1_4-windows-i586.cab#Versio ..."
      WIDTH = 120 HEIGHT = 120 >
      <param NAME = CODE VALUE = TicTacToe.class >
      <param NAME =" type" VALUE ="
      application/x-java-applet;version= 1.4">
      <param NAME =" scriptable" VALUE =" false">

      <COMMENT>
      <embed
      type =" application/x-java-applet;version= 1.4" \
      CODE = TicTacToe.class \
      WIDTH = 120 \
      HEIGHT = 120 \
      scriptable = false \
      pluginspage ="
      http://java.sun.com/products/plugin/index.html#down load">
      <noembed>
      alt="Your browser understands the &lt;APPLET&g t; tag but
      isn't running the applet, for some reason."
      Your browser is completely ignoring the &lt;APPLET&g t; tag!
      </noembed>

      </embed>
      </COMMENT>
      </object>

      When i run this program i got Red X image displayed where the applet
      should be But Applets won't run .

      For your clarity below i mentioned the link . I got the same image which is apper in that and i had i gone through the solution mentioned in it but no use .

      " http://www.java.com/en/download/help/5000040200.xml "
      Please check it once the above link. I had download jmf also.
      Kindly give me suggestion for my error.Thank you.
      -Raju

      Comment

      Working...