Article View: borland.public.jbuilder.java.swing
Article #8351Re: Swing Applets
From: Vince
Date: Sun, 24 Sep 2000 00:00
Date: Sun, 24 Sep 2000 00:00
32 lines
1913 bytes
1913 bytes
Are you running your applet in a browser or the applet viewer? You'd be surprised at how many "recent" browser versions are using downlevel JVMs (1.1.x). Swing, and hence JApplet will not be available on these. You can try the Java Plugin at www.javasoft.com, however, if your applet is for the world at large instead of a controlled (ex: intranet) environment where you can dictate the browser/platform, this will not get you around the problem. The short of it is, until the world migrates to browsers that support more recent JVMs you're stuck with writing older non-Swing code. Renney Thomas <renney@cris.com> wrote in message news:8qgjnj$dk711@bornews.borland.com... > When I try to run a Swing applet from an html file dl/ed from a web server I > get > the following error in the console: > > java.lang.ClassNotFoundException: javax.swing.JApplet > at com/ms/vm/loader/URLClassLoader.loadClass > at java/lang/ClassLoader.loadClassInternal > at java/lang/ClassLoader.resolveClass > at com/ms/vm/loader/URLClassLoader.loadClass > at com/ms/vm/loader/URLClassLoader.loadClass > at com/ms/applet/AppletPanel.securedClassLoad > at com/ms/applet/AppletPanel.processSentEvent > at com/ms/applet/AppletPanel.processSentEvent > at com/ms/applet/AppletPanel.run > at java/lang/Thread.run > > How can this be resolved? > >
Technical Details
Message-ID:
<39ce32ec$1_2@dnews>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8qgjnj$dk711@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,8ab48bd3fc42364c X-Google-Attributes: gid111d45,public From: "Vince" <vman47@hotmail.com> Subject: Re: Swing Applets Date: 2000/09/24 Message-ID: <39ce32ec$1_2@dnews> X-Deja-AN: 673557559 References: <8qgjnj$dk711@bornews.borland.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Trace: 24 Sep 2000 09:59:24 -0800, 216.79.140.75 Organization: Integral Technologies, Inc. X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing