paint

i have some three images iam loading it i just want to apply threads for two new images when iam using repaint it is loading the whole screen and only two new images are visible to me but i want the five images and new two images should be visible to me what can i do

You might want to post some code. I’m not totally understanding atm…

I didn’t get it at all too ???
Try to put some punctuations and to do simple sentences.

I guess you draw 3 images to the screen and with the repaint the other 2?!
A normal repaint() clears the screen first so your old ones disappear.
You can draw your images to an offscreen BufferedImage
and draw this image to the screen.
Then all 5 images should appear :wink:

But I´m also not sure if that´s what you wanted ? :-\

Like pyrodragon said, reapint() clears the screen so you can draw to an off screen image, or redraw your other three images again when you draw the next two. I am not sure what you meant when you said “apply threads for two new images,” are you drawing your images from a separate thread?