🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Swing, IE5 Netscape4.51 Problem

#10183
From: guy22_
Date: Thu, 04 Nov 1999 00:00
44 lines
2149 bytes
Hi,
I wrote a very basic swing applet, and with appletviewer it works fine,
the problem comes when I run it using a browser. I am using java1.2,
and I have the swing plugin from java.sun.com, ( I am able to run swing
example applets on the tutorial from java.sun.com)
but when I run using either NS4.51 or IE5, I get exceptions

this one is from NS
# Applet exception: error: java.lang.UnsatisfiedLinkError: doPrivileged

java.lang.UnsatisfiedLinkError: doPrivileged
  at javax.swing.UIManager.getSystemLookAndFeelClassName(Compiled Code)
  at
  at java.lang.ClassLoader.findSystemClass(Compiled Code)
  at netscape.applet.AppletClassLoader.loadClass1(Compiled Code)
* at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
  at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
  at netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch
Compiled Code)
  at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
Code)
  at java.awt.EventDispatchThread.run(Compiled Code)
  at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run
Compiled Code)


and from IE5
java.lang.InstantiationException: AppletTest/App
	at com/ms/applet/BrowserAppletFrame.newInstance
	at com/ms/applet/AppletPanel.processSentEvent
	at com/ms/applet/AppletPanel.processSentEvent
	at com/ms/applet/AppletPanel.run
	at java/lang/Thread.run


I have also put the rt.jar file in the classpath too, nothing seems to
work.

thanx,
Dil


Sent via Deja.com http://www.deja.com/
Before you buy.
Technical Details
Message-ID: <7vt1d0$g3n$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,a2eff622c48aa084,start
X-Google-Attributes: gid111d45,public
From: guy22_@yahoo.com
Subject: Swing, IE5 Netscape4.51 Problem
Date: 1999/11/04
Message-ID: <7vt1d0$g3n$1@nnrp1.deja.com>
X-Deja-AN: 544503228
X-Http-Proxy: 1.1 x28.deja.com:80 (Squid/1.1.22) for client 128.192.158.72
Organization: Deja.com - Before you buy.
X-Article-Creation-Date: Thu Nov 04 22:29:57 1999 GMT
X-MyDeja-Info: XMYDJUIDguy22
Newsgroups: borland.public.jbuilder.java.swing
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)