aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Java 2d: drawImage creating black background Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Java 2d: drawImage creating black background" Watch "Java 2d: drawImage creating black background" New topic
Author

Java 2d: drawImage creating black background

Nit Kul
Greenhorn

Joined: Oct 26, 2009
Posts: 14
Hi,
I m trying to draw an JPG image with coordinates being populated.

gImage.setBackground(Color.WHITE);

Could anyone try and let me know why I am getting a black background?

-Nitin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java 2d: drawImage creating black background