using drawGrid Method from GPanel