Java Applet!


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Java Applet!

  1. #1
    betman Guest

    Java Applet!


    I can't get my Applets working on a html page. I use JDK 1.2.2 and when I
    test my applets in the Apppletviewer they works OK. But when I try to run
    then in a html document it doesn't work. It says "class MyClass not found"
    despite that I have both the java-file and class-file in the same folder.
    I use swing components in the applet and also subclasses. Can anyone explain
    what I should do?

  2. #2
    Rajkamal Gopinath Guest

    Re: Java Applet!


    Hi,

    Your browser does not support JDK1.2.2 Classes.

    To use java class not supported by the browser you should install Java 1.2

    Plugin in your system and further use HTMLConverter to convert your HTML
    files
    containing APPLET TAGS TO OBJECT TAGS so that the browser understand that
    this
    portion has to be executed by the JAVA 1.2 Plugin

    You need to ensure that your applet class is as part of html file which
    you are viewing rather in some other directory

    Regards

    Rajkamal














    "betman" <andreasborg@hotmail.com> wrote:
    >
    >I can't get my Applets working on a html page. I use JDK 1.2.2 and when

    I
    >test my applets in the Apppletviewer they works OK. But when I try to run
    >then in a html document it doesn't work. It says "class MyClass not found"
    >despite that I have both the java-file and class-file in the same folder.
    >I use swing components in the applet and also subclasses. Can anyone explain
    >what I should do?



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center