Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

BufferedImage drawing problems  RSS feed

 
Ahmed Attyah
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Rob Camick
Ranch Hand
Posts: 2754
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!