my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes BufferedImage drawing problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "BufferedImage drawing problems" Watch "BufferedImage drawing problems" New topic
Author

BufferedImage drawing problems

Ahmed Attyah
Greenhorn

Joined: Apr 02, 2010
Posts: 4
Hello,

when i initiate object of Grid it draws the grid, later when i want to clear image or other stuff it doesn't, for ex: clear() function which clears the image doesn't work !, any other function which draws any other stuff on the buffered image doesn't work also



Coming for you SCJP
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2179
    
    7
Code looks reasonable. Post your SSCCE that demonstrates the problem.

In the past when I've wanted to "clear" an image I have just created a new image.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BufferedImage drawing problems