Results 1 to 3 of 3
  1. #1
    techbossmb is offline Member
    Join Date
    Sep 2009
    Posts
    10
    Rep Power
    0

    Default Loading Applet in a web browser

    Hi guys, I really need help. I created an applet and its working fine if I use an appletviewer to open it, but if I try to open it in web browser it give error such as applet noninted and when i check for more details I see ClassNOTfound, then i tried moving the html file to the same folder as the .class file its refering to. Then I have another error: NoClassDefFound. SOS!:confused:

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Read the deployment section of Sun's tutorial.

  3. #3
    CodesAway's Avatar
    CodesAway is offline Senior Member
    Join Date
    Sep 2009
    Location
    Texas
    Posts
    238
    Rep Power
    5

    Default

    Some simple checks

    1) Is it a single file, or multiple?
    2) Does it require an external library?
    3) Can you show us the full tag you used, since the error might be there.

    The fact that it says that it can't find a class implies that you require multiple classes for the applet, but the applet can't find them to load them.
    CodesAway - codesaway.info
    writing tools that make writing code a little easier

Similar Threads

  1. Applet not working in browser
    By gkr1989 in forum Java Applets
    Replies: 3
    Last Post: 07-03-2009, 09:43 AM
  2. loading resources in an applet
    By Gatts79 in forum Java Applets
    Replies: 5
    Last Post: 03-06-2009, 02:19 PM
  3. Why is one applet loading but the other isnít?
    By spmchugh82 in forum Java Applets
    Replies: 1
    Last Post: 01-26-2009, 03:39 PM
  4. loading image into applet
    By balaram in forum Java Applets
    Replies: 1
    Last Post: 11-06-2008, 02:13 PM
  5. applet won't run in browser...
    By shwein in forum Java Applets
    Replies: 6
    Last Post: 10-17-2008, 06:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •