I've got a problem with my application which uses a large number of pictures.
The jar file which contains the main Xlet, gets too big (>4mb) when i put all pictures i need into it. Now i want to use a secondary jar (00002.jar), which contains all the images, i could not put into the first jar file. In my special case, the second jar file gets downloaded into the buda and integrated into vfs, which all seems to work.
Now i've tried to add this second jar to the classpath of the main Xlet by changing the classpathextension element belonging to my main Xlet (00001.jar) in the bdjo:
heres an excerpt:
Within the second jar 00002.jar, there's a folder calles "images".
So i try to acces the images by calling.
Image img = Toolkit.getDefaultToolkit().getImage("./images/image.png");
I also tried:
Image img = Toolkit.getDefaultToolkit().getImage("./00002/images/image.png");
It doesn't work.
Did anyone have success with this? I don't know what i forgot or what I am doing wrong.