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