it is terrible, i want to get my applet work in the net and then
problems, problems, problems…
first one: i tried to load my (in browser working applet) on my
net account. after loading most of the image resources i get.
java.util.zip.ZipException: invalid stored block lengths
i searched inside my code to find the line, where the exception occurs. its
img = ImageIO.read(getClass().getResource("tiles/drehung.png"));
but it is not the first image i load. the image is properly loaded onto the server, the path is also correct.
next one:
i want to get my applet packed in a jar. all is wonderful except that there also a problem that i get an exception:
my applet doesnt seem to load the images correctly in my vector, so a indexoutofbounds exception is thrown when it tries to acces images for painting.
the loading code is the same as above…