This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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
 
It's not a secret anymore!