display image in thread

hi i want to draw an image in a thread that i have loaded in the mainprogramm!
with an applet:
g.draw_Image(myImage,xPos,yPos,???)
and what to write instead of the ?"???" ???

null

thanks!but now i have another problem!
how i can i load an ordinary .gif image with an applet?

the code I got at forum.java.sun.com:

myImage =getImage(getCodebase(),“alien.gif”);

but it doesn’t work!
what the compiler tells me:

CLoseShooter1.java [30:1] cannot resolve symbol
symbol : method getCodebase ()
location: class CLoseShooter1
m_bild =getImage(getCodebase(),“alien.gif”);

The method getCodebase() is part of the Applet class, if your CloseShooter1 class doesn’t extends Applet, it hasn’t the method.
From the Java1.4 API the method getImage(URL,String) that you are calling is also part of Applet.

RDCZ