Re: Using system clipboard on Win-95

Charlie Lai (Charlie.Lai@Eng)
Tue, 9 Dec 1997 12:12:02 -0800 (PST)

From: Charlie.Lai@Eng (Charlie Lai)
Message-Id: <199712092012.MAA25341@angeles.eng.sun.com>
Subject: Re: Using system clipboard on Win-95
To: pwang@mcs.kent.edu (Paul S. Wang)
Date: Tue, 9 Dec 1997 12:12:02 -0800 (PST)
In-Reply-To: <347CC956.63D4EB14@mcs.kent.edu> from "Paul S. Wang" at Nov 26, 97 08:13:58 pm

hi,

> It seems that any attempt to access the system clipboard via the
> Toolkit getSystemClipboard() call get a security exception even if the
> code is a local applet.

even if the applet is local, it must be in the CLASSPATH for this to work.
alternatively, you could sign the applet:
http://java.sun.com/security/signExample

> This happens for either the appletviewer or Netscape. How does one
> overcome this problem?

either of the above two would get things to work with appletviewer.
for netscape, you'd need to use their object signing model:

http://developer.netscape.com/software/signedobj/index.html

charlie