You are obviously doing something beyond my capabilities, but you might be able to get what you want done by using the java.awt.Graphics2D class to draw the grid straight to the tutorial image object...