posted 8 years ago
I'm having issues with JButtons and painting methods, whenever I click a grid on the board, the buttons in the JPanel disappear. I've been looking at it for too long and decided to post here.
Here is the board class:
Here is the GUI cllass:
I know the code is messy in places, this will be fixed later, just need some pointers on how to solve the JButton issue.