very sorry for the dummy post before !!
you should never have bottles in the radius of your keyboard ...
my first try to substitue the old 1.1 method for image-work is not too succesfull.
im very ashamed to have such problems so early
following code written in an applet:
URL u = getClass().getResource("avatar.jpg");
img = ImageIO.read(u);
g.drawImage(img, 0, 0, this);
with that code i get a securityException, java is unable to create a temporary file ... (?)
but before i have more problems after getting this one solved i need further tips:
i want to replace the old code which was written to cut a big image into pieces (only for referencing the new pieces, not for writing on disk)
i used a conglomerate of ImageProducer, FilteredImageSource and CropImageFilter.
what is the best way of doing it in javax.imagIO ?