🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1867

Re: Problem using Swing

#1867
From: Max Erhard
Date: Thu, 30 Aug 2001 23:13
36 lines
2260 bytes
You need to use different HTML tags with swing applets. It's explained
in the sun docs somewhere. You use an <embed> tag to load the java
plugin, the default jvm you get when you use an <applet> tag is only
compatable with jdk1.1 (or less in some cases) which doesn't know what
swing is all about.

On Fri, 15 Jun 2001 13:19:38 GMT, "en|ckma"
<enickma@enickma.cjb.netNOSPAM> wrote:

>Hey guys,
>I just installed JBuilder4 and wrote a simple applet using javax.swing and
>for some strange reason, I can't run the applet in a web browser.  I get
>this message in the Java 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
>
>***********************************
>
>Can anyone please help me figure out what's wrong?  It's really getting on
>my nerves.  I got it working using AWT but I really prefer Swing...
>Any help would be greatly appreciated.  Thanks in advance,
>
>Nick
>
>
Technical Details
Message-ID: <3b8ec7cd.7336779@news.lineone.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!demon!mk-nntp-1.news.uk.worldonline.com!host213-123-55-7.dialup.lineone.co.uk
References: <KXnW6.134169$ff.1007792@news-server.bigpond.net.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,2f992297d06c26e2
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-09-01 21:21:58 PST
From: max.erhard@softhome.net (Max Erhard)
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: Problem using Swing
Date: Thu, 30 Aug 2001 23:13:42 GMT
Message-ID: <3b8ec7cd.7336779@news.lineone.net>
References: <KXnW6.134169$ff.1007792@news-server.bigpond.net.au>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: host213-123-55-7.dialup.lineone.co.uk
X-Trace: 31 Aug 2001 00:16:43 +0100, host213-123-55-7.dialup.lineone.co.uk
Lines: 37
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!demon!mk-nntp-1.news.uk.worldonline.com!host213-123-55-7.dialup.lineone.co.uk