wood burning stoves 2.0*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
having some minor problems
JExcel API
need to make the text cursor white in a black text editor
Background color in SELECT object?
Cursor color of JTextfield