🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #986

Re: Help: Java 2 browser plug-in & Swing

#986
From: Tom Davies
Date: Fri, 19 Nov 1999 00:00
25 lines
1612 bytes
Adrian De Luca wrote:
> 
> Hello fellow developers,
> 
> I am rather new to Java development and have recently finished
> developing a Java applet that uses a Swing (JFC) GUI.  Using SDK 2,  I
> can get it running perfectly under the appletviewer, however whenever I
> attempt to run it in either Netscape or IE 4 with the Java 2 Plug-in
> installed, I get the following:
> 
> "Applet jewpApplet error: java.lang.NoClassDefFoundError:
> javax/swing/JApplet"
> 
> Does this mean the the Java 2 plug-in does not include the swing
> classes?  If not how can I get around this?
> 
> I would appreciate any advice or help on this.

The plugin *does* include javax.swing.

Make sure you've converted your HTML to specify the plugin -- even with
the plugin installed the standard applet tag still uses the browser's
JVM.

Tom
Technical Details
Message-ID: <3835A56C.65596BF8@smartchat.net.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3830A179.8077DCED@hds.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,9fe9b5572df7284b
X-Google-Attributes: gid10d6db,public
From: Tom Davies <tom@smartchat.net.au>
Subject: Re: Help: Java 2 browser plug-in & Swing
Date: 1999/11/19
Message-ID: <3835A56C.65596BF8@smartchat.net.au>
X-Deja-AN: 550441534
Content-Transfer-Encoding: 7bit
References: <3830A179.8077DCED@hds.com.au>
To: Adrian De Luca <adrian.deluca@hds.com.au>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@connect.com.au
X-Trace: merki.connect.com.au 942996142 28545 210.8.3.76 (19 Nov 1999 07:22:22 GMT)
Organization: Customer of Connect.com.au Pty. Ltd.
Mime-Version: 1.0
NNTP-Posting-Date: 19 Nov 1999 07:22:22 GMT
Newsgroups: aus.computers.java