After trying to add and remove all sort of things to my code, i finally realized what's my mistake- during the loading of the images from bitmap files, i've used a pixel grabber to make some pixel transparent. when i marked this line out the images were being accelerated. so i've solved my problem. my final question is, why does using a pixelgrabber on an image prevent it from being accelerated?
thanks, noam
Hmm, would be quite easier to analyze whats going wrong if you would have told us the full story other than "I am just loading a few images and paint then".
Hmm, thats a bit strange - are the images BufferedImages (guess not otherwise no need for PixelGrabber) or Toolkit-Images. The grabbing itself (at least for BufferedImages) should not slow down drawing at all but furthermore the way how you set the pixel-values of the image again.
Furthermore if java2d sees lot of pixel-changes in a BufferedImage it doesn't it cache anymore too if it is not blitted very often - however I've just read that and did not find out the correct semantics but I guess they are not that clever.
If you've stolen its Raster things are pretty much clean ->the internal "rasterStolen" variable is set and no accerlation at all takes place (to ensure that the actual pixel data is equal to the data which gets painted).
lg Clemens