File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "BufferedImage drawing problems" Watch "BufferedImage drawing problems" New topic

BufferedImage drawing problems

Ahmed Attyah

Joined: Apr 02, 2010
Posts: 4

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: 2446
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:
subject: BufferedImage drawing problems
jQuery in Action, 3rd edition