java applet grey in browser

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • polilop

    #1

    java applet grey in browser

    i have an java applet, and when i start it it shows a
    gray win with x. the console shows

    java.lang.NoCla ssDefFoundError : GeomApplet (wrong name: vj3/GeomApplet)
    at java.lang.Class Loader.defineCl ass0(Native Method)
    at java.lang.Class Loader.defineCl ass(ClassLoader .java:502)
    at java.security.S ecureClassLoade r.defineClass(S ecureClassLoade r.java:123)
    at sun.applet.Appl etClassLoader.f indClass(Applet ClassLoader.jav a:148)
    at
    sun.plugin.secu rity.PluginClas sLoader.findCla ss(PluginClassL oader.java:168)
    at java.lang.Class Loader.loadClas s(ClassLoader.j ava:299)
    at sun.applet.Appl etClassLoader.l oadClass(Applet ClassLoader.jav a:114)
    at java.lang.Class Loader.loadClas s(ClassLoader.j ava:255)
    at sun.applet.Appl etClassLoader.l oadCode(AppletC lassLoader.java :501)
    at sun.applet.Appl etPanel.createA pplet(AppletPan el.java:566)
    at sun.plugin.Appl etViewer.create Applet(AppletVi ewer.java:1775)
    at sun.applet.Appl etPanel.runLoad er(AppletPanel. java:495)
    at sun.applet.Appl etPanel.run(App letPanel.java:2 92)
    at java.lang.Threa d.run(Thread.ja va:536)

    my class file is in the same folder as the html page where i put
    <APPLET CODE="GeomApple t.class" WIDTH="353" HEIGHT="207" VIEWASTEXT[color=blue]
    ></APPLET>[/color]

    dose anyone know what's the problem


  • Oliver Wong

    #2
    Re: java applet grey in browser


    "polilop" <fmatosic@inet. hr> wrote in message
    news:d8q7vu$k3r $1@ss405.t-com.hr...[color=blue]
    >i have an java applet, and when i start it it shows a
    > gray win with x. the console shows
    >
    > java.lang.NoCla ssDefFoundError : GeomApplet (wrong name: vj3/GeomApplet)
    >
    > my class file is in the same folder as the html page where i put
    > <APPLET CODE="GeomApple t.class" WIDTH="353" HEIGHT="207" VIEWASTEXT[color=green]
    > ></APPLET>[/color][/color]

    Maybe GeomApplet is part of a package and you haven't reproduced the
    package structure properly. Difficult to tell without the original source
    code it came from.

    - Oliver


    Comment

    Working...