Skip to main content

Applet resources access...

No replies
pmrenaud
Offline
Joined: 2008-10-01

Hi experts,

i developed an applet which needs to load images from an internal package.

com.project.gui.images.ResourcesManager.java
com.project.gui.images.image1.jpg
com.project.gui.images.image2.jpg
com.project.gui.images.image3.jpg
com.project.gui.images.etc

In debug mode, i can get access to this "package" and then get the entire list of images (which are in the package com.project.images). So, i can use java.util.File. But, in production mode, java.util.File is not able to access to the package because the "path" change to an http url (http://domain.com/project/applet.jar!/com/project/images). Here my question: does it exists a way to get access to those images/medias/etc directly from inside the applet?

thanks!

mart.

Message was edited by: pmrenaud