This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
need to make the text cursor white in a black text editor
Cursor color of JTextfield
having some minor problems
Background color in SELECT object?
JExcel API