SISC in applets

Turadg Aleahmad <[email protected]>
Newsgroups gmane.comp.java.sisc.devel
Message-ID <[email protected]>
Hi.  There are some problems with SISC 1.8.1 and applet-level permissions.

1) SISC can't even load because the options in sisc.util.Util use 
System.getProperty().  On class load, this throws an 
AccessControlException on the PropertyPermission.  To remedy this I've 
written and checked in a safeGetProperty () method that returns the 
default value if there is no permission.

2) With applet-level permissions, loading the heap takes much much 
longer (~ 1 min).  If I go into the Java Plugin control panel and grant 
my applet AllPermission, it doesn't take but a few seconds.  This may be 
due to my remedy above, but I can't tell since if I omit it, the applet 
can't even load.

3) The only way to set options like permitInterupts in an 
applet-environment requires using the JPI control panel.  This is rather 
cumbersome.  If my applet has AllPermission, I can set the system 
property before Util loads, but under applet-level permissions there is 
no way to set this option without requiring the user to modify his JPI 
settings.


Please advise.  :)

-Turadg




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.