You can use GeoTools.init( Hints ) to accomplish the same effect; the library should not be running off and checking system properties but we have not had an applet based user in a while. The other tip is to be sure to use the epsg-wkt plugin when working in an applet. Cheers, Jody
mcr wrote: > Using the geotools library in an applet causes some warnings to occur in the > java console > > 08.09.2008 10:20:33 org.geotools.factory.Hints scanSystemProperties > WARNING: AccessControlException: access denied (java.util.PropertyPermission > org.geotools.referencing.epsg-datasource read) [...] > 08.09.2008 10:20:33 org.geotools.factory.Hints scanSystemProperties > WARNING: AccessControlException: access denied (java.util.PropertyPermission > org.geotools.referencing.crs-directory read) [...] > 08.09.2008 10:20:33 org.geotools.factory.Hints scanSystemProperties > WARNING: AccessControlException: access denied (java.util.PropertyPermission > org.geotools.referencing.forceXY read) [...] Exception in thread "Thread-25" > java.awt.IllegalComponentStateException: > component must be showing on the screen to determine its location > > I assume this is because of the sandbox model. > > Is there an official recommendation how to handle this situation ? > > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel