🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: javax not found?

#8852
From: Rich Wilkman
Date: Tue, 04 Jul 2000 00:00
34 lines
1860 bytes
Rolf:

Yes.  Browsers don't support Swing (or any other javax package).  You
have to provide it for your users.  This means forcing them to download
swing every time they run your applet or convincing them to install and
use the Java Plugin.

-Rich

DATURA wrote:
> 
> Hi there
> 
> Using JBuilder under Windows NT4 SP6.
> 
> I try to create a simple little Applet that shows a tree like in the Windows
> Explorer and so on. I use the predefined swing element and compile a .class
> file.
> 
> Then I use this class in a html and the following log entry is created:
> java.lang.ClassNotFoundException: javax.swing.JApplet
>  at com/ms/vm/loader/URLClassLoader.loadClass (URLClassLoader.java)
>  at java/lang/ClassLoader.loadClassInternal (ClassLoader.java)
>  at java/lang/ClassLoader.resolveClass (ClassLoader.java)
>  at com/ms/vm/loader/URLClassLoader.loadClass (URLClassLoader.java)
>  at com/ms/vm/loader/URLClassLoader.loadClass (URLClassLoader.java)
>  at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
>  at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
>  at com/ms/applet/AppletPanel.run (AppletPanel.java)
>  at java/lang/Thread.run (Thread.java)
> 
> Can somebody tell me, what's the problem?
> 
> Thanks, Rolf.
Technical Details
Message-ID: <39626C32.8E0031B@formlessvoid.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39618c88@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,28c94f52f1275e2a
X-Google-Attributes: gid111d45,public
From: Rich Wilkman <richw@formlessvoid.com>
Subject: Re: javax not found?
Date: 2000/07/04
Message-ID: <39626C32.8E0031B@formlessvoid.com>
X-Deja-AN: 642436120
Content-Transfer-Encoding: 7bit
References: <39618c88@dnews>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: 4 Jul 2000 15:49:16 -0800, 165.227.58.108
MIME-Version: 1.0
Reply-To: richw@formlessvoid.com
Newsgroups: borland.public.jbuilder.java.swing