🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11036

Re: SwingAppplet sample does not start

#11036
From: Jose Miguel Sanz Garcia
Date: Wed, 21 Jul 1999 00:00
58 lines
2141 bytes
You must include swingall.jar in your applet directory and de HTML CODE
must be like that:

...
<applet code=yourJApplet.class 
  archive="yourApplet.jar,swingall.jar"            
  width=xxxxxx height=yyyyyy>
</applet>
...

JoséMi

Frey Claude wrote:
> 
> Hi
> I begin with java
> 
> I have install JBuilder3 with NT4 sp4 and I try the SwingApplet sample.
> With the appletviewer I have no problem.
> 
> But when I try to open the SwingAppletShow.html with Netscape4.08 I have
> this error in the Java Console :
> 
> # Verifier error
> javax/swing/SwingUtilities.doPrivileged(Ljava/lang/Runnable;)V: Cannot
> find class java/security/PrivilegedAction
> # Applet exception: error: java.lang.NoClassDefFoundError:
> javax/swing/SwingUtilities
> java.lang.NoClassDefFoundError: javax/swing/SwingUtilities
>   at java.lang.ClassLoader.resolveClass(Compiled Code)
>   at java.lang.ClassLoader.loadClassInternal(Compiled Code)
>   at javax.swing.TimerQueue.sharedInstance(Compiled Code)
> * at javax.swing.JApplet.<init>(Compiled Code)
>   at SwingApplet.<init>(Compiled Code)
>   at
> netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
> Code)
>   at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
> Code)
>   at java.awt.EventDispatchThread.run(Compiled Code)
>   at
> netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
> Code)
> 
> Thanks
> 
> Claude
Technical Details
Message-ID: <3795AABF.C2E65D10@idealobjects.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37958963.D74F8716@cnet.francetelecom.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,a9ee4e02b045ca15
X-Google-Attributes: gid111d45,public
From: Jose Miguel Sanz Garcia <jmsanz@idealobjects.com>
Subject: Re: SwingAppplet sample does not start
Date: 1999/07/21
Message-ID: <3795AABF.C2E65D10@idealobjects.com>
X-Deja-AN: 503487532
Content-Transfer-Encoding: quoted-printable
References: <37958963.D74F8716@cnet.francetelecom.fr>
To: Frey Claude <claude.frey.@cnet.francetelecom.fr>
X-Accept-Language: es,en
Content-Type: text/plain; charset=iso-8859-1
Organization: Ideal Objects, S.A.
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing