I am writing a simple minesweeper game and it works now, but I am working on the pretty details like making each number a different color.
I keep running into errors
setTextColor is undefined for JButton. To set the JButton text color, you can use setForeground.
setTextColor
JButton
setForeground
button.setForeground(Color.RED);