All Questions
2 questions
2
votes
2
answers
445
views
Adding ActionListeners to array of buttons
I'm trying to write my first Swing app, it is a simple chess engine in Java. I've made a grid of JButtons to represent squares. Looks ok, but I've come across a problem when trying to add ...
0
votes
2
answers
804
views
Trying to create a frame full of JButtons, but my JButtons won't load
I'm making a chess game for a project and one of the first things I want to do is create a frame, then fill it with 64 JButtons (organised 8x8) which will each act as the squares on a chess board. I'm ...