Article View: aus.computers.java
Article #991Re: Help: Java 2 browser plug-in & Swing
From: mtackett
Date: Tue, 23 Nov 1999 00:00
Date: Tue, 23 Nov 1999 00:00
48 lines
2314 bytes
2314 bytes
I'm experiencing a similar problem. I *have* converted my HTML to support the Sun Java plug-in. In fact, Sun has a nifty HTML Converter program on one of their websites that I downloaded to perform this very action. Yesterday it was working fine. Today, when I try to run my (simple) Swing-based Java applet in IE 4, the browser sits there churning away but nothing happens. I'm guessing it's looking for some file and can't find it, but I've checked the registry and my system PATH environment, and everything looks OK at first glance. But then again.... Any clues on this one? In article <3835A56C.65596BF8@smartchat.net.au>, Tom Davies <tom@smartchat.net.au> wrote: > 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 > Sent via Deja.com http://www.deja.com/ Before you buy.
Technical Details
Message-ID:
<81f61f$lh0$1@nnrp1.deja.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3830A179.8077DCED@hds.com.au> <3835A56C.65596BF8@smartchat.net.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: mtackett@intermec.com Subject: Re: Help: Java 2 browser plug-in & Swing Date: 1999/11/23 Message-ID: <81f61f$lh0$1@nnrp1.deja.com> X-Deja-AN: 552189682 References: <3830A179.8077DCED@hds.com.au> <3835A56C.65596BF8@smartchat.net.au> X-Http-Proxy: 1.1 x23.deja.com:80 (Squid/1.1.22) for client 204.57.247.22 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Nov 23 22:55:46 1999 GMT X-MyDeja-Info: XMYDJUIDmtackett Newsgroups: aus.computers.java X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)