I don't set a color for the graphics object because when i run it on windows os it works. The lines and x,o is automatically drawn white so i'm guessing it defaults to white??The background color is set to black.
When running the same exact code on mac os, nothing is drawn.
If i add g.setColor(Color.WHITE); , nothing is also drawn.
if i add g.setColor(Color.GREEN); , finally the lines and x,o are drawn in color green.
So im assuming my problem is with the color white since same code different color works.