Removing icon from JButton
I'm trying to make a game of checkers. I have made the board into 64 JButtons(In a grid of 8x8), and have made the "pieces" icons(pictures of actual pieces). However, I'm now trying to write the code for the basis of gameplay, but ran into a problem. Is there a way to remove the icon from a specific Button and then add an icon to another without adding new buttons and therefore ruining my gameboard. Also, if you can think of a more efficient/effective way, I'm all ears.