🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Applet notinited

#9930
From: Otmar Klenk
Date: Mon, 13 Dec 1999 00:00
92 lines
3764 bytes
--------------10AE2D2B2C4C6ADD83340073
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Sun's websides are using the appletviewer as browser. In difference to
appletviewer Netscape and IE are throwing security exceptions if an
applet is trying to do something which is prohibited by the current
security manager settings (e.g. File IO). Check, which exception is
thrown and encapsulate the corresponding piece of code with a try -
catch( Exception ex ) block.
Hope this helps...
Otmar

Perry DiMarco schrieb:

> never mind I figured it out.
>
> Perry DiMarco wrote:
>
>> I am sing Jbuilder 3 and created a simple applet with a list box
>> from the JBCL library. I used the deployment wizard to deploy my
>> applet.
>>
>> I started to get an error:
>>
>> # 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
>>
>>
>> I found out that I have to use the Sun 1.2 plugin to run the applet.
>> Well, when I do I get a new problem "Applet notinited" problem.
>>
>> When I run the plugin samples on Sun's web site, they work fine. Has
>> anyone had this problem? What to do? Any ideas?
>>
>> Thanks
>>
>> - Perry
>
--
Otmar Klenk
Bussardplatz 9
85757 Karlsfeld
08131/58353


--------------10AE2D2B2C4C6ADD83340073
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Sun's websides are using the appletviewer as browser. In difference to
appletviewer Netscape and IE are throwing security exceptions if an applet
is trying to do something which is prohibited by the current security manager
settings (e.g. File IO). Check, which exception is thrown and encapsulate
the corresponding piece of code with a try - catch( Exception ex ) block.
<br>Hope this helps...
<br>Otmar
<p>Perry DiMarco schrieb:
<blockquote TYPE=CITE>never mind I figured it out.
<p>Perry DiMarco wrote:
<blockquote TYPE=CITE>I am sing Jbuilder 3 and created a simple applet
with a list box from the JBCL library. I used the deployment wizard to
deploy my applet.
<p>I started to get an error:
<p># Verifier error javax/swing/SwingUtilities.doPrivileged(Ljava/lang/Runnable;)V:
Cannot find class java/security/PrivilegedAction
<br># Applet exception: error: java.lang.NoClassDefFoundError: javax/swing/SwingUtilities
<br>java.lang.NoClassDefFoundError: javax/swing/SwingUtilities
<br>&nbsp;
<p>I found out that I have to use the Sun 1.2 plugin to run the applet.
Well, when I do I get a new problem<b> "Applet notinited"</b> problem.
<p>When I run the plugin samples on Sun's web site, they work fine. Has
anyone had this problem? What to do? Any ideas?
<p>Thanks
<p>- Perry</blockquote>
</blockquote>

<p>--
<br>Otmar Klenk
<br>Bussardplatz 9
<br>85757 Karlsfeld
<br>08131/58353
<br>&nbsp;</html>

--------------10AE2D2B2C4C6ADD83340073--
Technical Details
Message-ID: <385527D1.34F003E1@muenchen.roses.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3839B2C0.F7ACD7A5@interconnectllc.com> <383AAB54.CD5517B2@interconnectllc.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,24596d70bcc0210f
X-Google-Attributes: gid111d45,public
From: Otmar Klenk <o.klenk@muenchen.roses.de>
Subject: Re: Applet notinited
Date: 1999/12/13
Message-ID: <385527D1.34F003E1@muenchen.roses.de>
X-Deja-AN: 560146867
References: <3839B2C0.F7ACD7A5@interconnectllc.com> <383AAB54.CD5517B2@interconnectllc.com>
X-Accept-Language: de
Content-Type: multipart/alternative; boundary="------------10AE2D2B2C4C6ADD83340073"
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing