🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: aus.computers.java
4 messages
4 total messages Started by Adrian De Luca Tue, 16 Nov 1999 00:00
Help: Java 2 browser plug-in & Swing
#984
Author: Adrian De Luca
Date: Tue, 16 Nov 1999 00:00
23 lines
1312 bytes
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.

cheers,
Adrian

--
Adrian De Luca
Developer
adrian.deluca@hds.com.au
Re: Help: Java 2 browser plug-in & Swing
#986
Author: 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
Re: Help: Java 2 browser plug-in & Swing
#991
Author: mtackett
Date: Tue, 23 Nov 1999 00:00
48 lines
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.
Re: Help: Java 2 browser plug-in & Swing
#997
Author: Shawn Foo
Date: Mon, 06 Dec 1999 00:00
20 lines
1597 bytes
I had that problem when I had my browser trying to
load a .class file. If I get it to point at a .jar file,
it works fine.. That's running off IIS.
Class files seem to work fine using other web servers.

--
Shawn Foo

mtackett@intermec.com wrote in message <81f61f$lh0$1@nnrp1.deja.com>...
>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?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads