From: "marco" <[EMAIL PROTECTED]>
Sent: Thursday, November 08, 2001 2:16 PM


> Hi,
> when i try to load a scene from a 3ds file using the ncsa
Portfolio i
> get an exception from java.security...but the file is from an
URL! :(
>
> Anyone can help me?
> . . .

Marco,

I assume that you're getting the AccessControlException when you
run from an applet.

My experience is that applets are much fussier about getting
files from their CodeBase than advertised.  A month or so ago, I
spent a month or so trying to get an applet to handle a
JEditorPane.setPage(URL) without throwing an
AccessControlException.  (I really, really want to control my
Java 3D models in applets in step with an html page scrolling
down a JEditorPane).

There's a sad column that's been marching in the Bug Parade for
years on this, and I haven't unearthed any response beyond "Not
a bug.  Get over it."

I've fiddled with the properties files without positive result,
but I don't want clients to have to fool with all of that
anyway.

I'd love to find out how to manage applet code base file access,
even if the discovery made me look stupid.

Sorry I can't offer help or encouragement.

Fred Klingener

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to