public void drawboard(Graphics g){
g.setColor(Color.yellow);
for (int row = 0; row < board.length; row++){
for (int col = 0; col < board[row].length; col++){
g.drawString("X", col, row);
}
}
All I get is a yellow square that is 35x30 (variables for row and col in another part of the program). I can't see any "X" at all. I have tried to space it out in case it was all mashed together with col+10, row+10, but it doesn't affect it. I switched col and row with the same affect.
Thank you.