🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SwingAppplet sample does not start

#10910
From: Rich Wilkman
Date: Mon, 26 Jul 1999 00:00
77 lines
3091 bytes
Ross:

swingall.jar is used with the external JFC libraries for JDK 1.1x.  If
you are using JDK 1.2 (the default in JB), Swing is built in.  You'll
find it in rt.jar.

-Rich

Ross Pellegrino wrote:
> 
> Where do i get swingall.jar. I'm using JB3 and can't seem to find it
> anywhere.  Do I need to download it from somewhere.
> 
> Jose Miguel Sanz Garcia <jmsanz@idealobjects.com> wrote in message
> news:3795AABF.C2E65D10@idealobjects.com...
> 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

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Quality Assurance Manager
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <379C7691.47C3233A@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37958963.D74F8716@cnet.francetelecom.fr> <3795AABF.C2E65D10@idealobjects.com> <7nf381$b51@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,a9ee4e02b045ca15
X-Google-Attributes: gid111d45,public
From: Rich Wilkman <rwilkman@inprise.com>
Subject: Re: SwingAppplet sample does not start
Date: 1999/07/26
Message-ID: <379C7691.47C3233A@inprise.com>
X-Deja-AN: 505398630
Content-Transfer-Encoding: 8bit
References: <37958963.D74F8716@cnet.francetelecom.fr> <3795AABF.C2E65D10@idealobjects.com> <7nf381$b51@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing