Hi All
Seem to be running into problems in trying to paint an image on a JPanel. I am creating a UI with a background image. I have created a class extending JPanel to paint the image on the painComponent method. The call being something like :
g.drawImage( image.getImage(), 0, 0, width, height, this);
While this works perfect when run without the wrapper. The image is not painted when run with the wrapper. I am implementing the WrapperListener.
Has someone come across this ?
FYI:Images are painted on JButtons on the same UI.
TIA
---------------------------------
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing |