Article View: comp.lang.java
Article #609Re: [eng] Need help with an applet (110 line applet included)
From: Ingo Pakleppa
Date: Fri, 15 Feb 2002 07:32
Date: Fri, 15 Feb 2002 07:32
29 lines
2701 bytes
2701 bytes
On Thu, 14 Feb 2002 13:08:51 +0100, "Martin Schou" <martin.schou@grue-hornstrup.dk> wrote: >> Do other applets work in IE? It looks to me as if the JVM installation >> might be messed up. > >Well - depending on what Applet it is, it works more or less fine. IE can >run the applets at java.sun.com/somethingorother just fine, so I'm pretty >sure it's my applet, that isn't behaving like it should. > >Of course, I haven't programmed any (and I do mean any) applets before, so >I'm probably just doing something like I always do in a regular java >program, that is a big no no in applets. The reason I thought it might be a messed-up IE is twofold: first, your stack dump said "ClassDefNotFoundException" for a standard Java class, and second, this apparently happens while trying to throw a security violation exception. Except that it happens while loading the init() method, before any of your code is ever executed, so there should not be a chance for a security violation. Looking at your stack trace again, I notice something else: it appears that the method that is called is the wrong init() - in the wrong class or something like that. It says "Empty_2.init()" where I would have expected whatever_your_applet_class_name_is.init(). Do you have an explanation, maybe? Ingo Seeking a JAVA opportunity in San Diego
Technical Details
Message-ID:
<3c6cb3e2.5566695@news.west.cox.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!64.152.100.70!peer1-sjc1.usenetserver.com!usenetserver.com!newsfeeds-atl1.usenetserver.com!cox.net!news1.east.cox.net.POSTED!53ab2750!not-for-mailReferences:
<d8Q98.5695$5L3.330766@news010.worldonline.dk> <3C67FE63.9090904@no-spam-anneli.dk> <fI5a8.9815$B43.681615@news000.worldonline.dk> <3c68eb59.5384371@news.west.cox.net> <Es7a8.6461$5L3.383511@news010.worldonline.dk> <3c6ba3c5.6698873@news.west.cox.net> <oNNa8.9255$5L3.464431@news010.worldonline.dk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9a23,7344a4814c81e894 X-Google-Attributes: gidf9a23,public X-Google-Thread: f5d71,7344a4814c81e894 X-Google-Attributes: gidf5d71,public X-Google-ArrivalTime: 2002-02-14 23:32:54 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!64.152.100.70!peer1-sjc1.usenetserver.com!usenetserver.com!newsfeeds-atl1.usenetserver.com!cox.net!news1.east.cox.net.POSTED!53ab2750!not-for-mail From: ipakleppa@cox.net (Ingo Pakleppa) Newsgroups: comp.lang.java,dk.edb.programmering.java Subject: Re: [eng] Need help with an applet (110 line applet included) Message-ID: <3c6cb3e2.5566695@news.west.cox.net> References: <d8Q98.5695$5L3.330766@news010.worldonline.dk> <3C67FE63.9090904@no-spam-anneli.dk> <fI5a8.9815$B43.681615@news000.worldonline.dk> <3c68eb59.5384371@news.west.cox.net> <Es7a8.6461$5L3.383511@news010.worldonline.dk> <3c6ba3c5.6698873@news.west.cox.net> <oNNa8.9255$5L3.464431@news010.worldonline.dk> X-Newsreader: Forte Free Agent 1.21/32.243 Lines: 29 Date: Fri, 15 Feb 2002 07:32:51 GMT NNTP-Posting-Host: 68.8.191.84 X-Complaints-To: abuse@cox.net X-Trace: news1.east.cox.net 1013758371 68.8.191.84 (Fri, 15 Feb 2002 02:32:51 EST) NNTP-Posting-Date: Fri, 15 Feb 2002 02:32:51 EST Organization: Cox Communications