• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java 2d: drawImage creating black background

 
Nit Kul
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic