Connection of the graphic interface with the model and image inside a JButton?

0

What happens is that I'm in a project related to a chess, and I have 2 doubts:

1 - how to enter a picture to a JButton? 2 -I have an 8x8 matrix type JButton that represents the board in the graphical interface, but I do not know how to relate that board of the graphical interface with the matrix of the model.

    
asked by David 08.02.2018 в 21:54
source

0 answers