posted 20 years ago
If you're drawing on the JPanel by overriding it's paintComponent() method, this shouldn't be an issue... you can set whether or not components paint their backgrounds by calling setOpaque( false ) on their reference, however, JPanels do not paint their background by default, so there's something else going on here... did you override paint() instead? What about your image? What format is it? Anything special about it?
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.