It's not a secret anymore!*
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 Android Security Essentials Live Lessons this week in the Android forum!
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: 2156
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
Similar Threads
pie chart
Popup menu not responding with mouse event
Scrolling Logic in AWT
Help w/ displaying several .PNG files
Is their a GUI app that can slice, dice ,and resassemble a JPG image on the screen?