can I not paint the background of an image?

I can draw an image just fine (I use JFrame), but I am having a big problem

I draw the image, but the image's background color gets drawn over the GUI's. for instance if I have an airplane sprite (.gif or .png), the airplane could be black but the background color of the sprite itself is white. when I g.drawImage(airplane, 200,200,this);, it displays the black airplane along with the rest of the white surrounding that is part of the sprite. I have been able to make up for this so far by doing things like painting the entire GUI white so that you cant tell, but its getting out of hand and unworkable on this new project of mine

how do I get java to ignore the background color of the sprite itself, and just draw the pixels that are NOT the background color?

if the image is a black airplane on a white background, I want to be able to just paint the black of the airplane, so it doesn't look like a retarded white square over a blue background (the GUI's background is blue)

any help is extremely appreciated :-/

[1054 byte] By [Vulcancountry5@gmail.coma] at [2007-10-2 23:36:25]
# 1
Modify your sprite so it has transparent pixels rather than a background?
paulcwa at 2007-7-14 16:18:47 > top of Java-index,Java Essentials,Java Programming...