Skip to main content

Applet

1 reply [Last post]
freudi_t
Offline
Joined: 2010-03-22

I make a small Applet with JXMapKit and the OpenStreetMap-provider. It works great in the appletviewer or even from a webserver if I patch my global java.policy. But when I only sign the applet I got
Exception in thread "AWT-EventQueue-2" java.lang.ExceptionInInitializerError
at org.jdesktop.swingx.mapviewer.AbstractTileFactory.getTile(AbstractTileFactory.java:102)
at org.jdesktop.swingx.mapviewer.AbstractTileFactory.getTile(AbstractTileFactory.java:72)
....
I looks like it have something to do with a sandbox, but I signed the applet and "Sayd yes to the grant dialog". First thing, if it has something to do with security, why I did'nt get an security execption? Second, how can I found out what policy entry exyct is missing?

Thanks Thomas

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
freudi_t
Offline
Joined: 2010-03-22

Got the answer. I have to sign every jar. I only signed my applet but not swingx-ws.jar.