Question

What is the best way to implement a configurable dimensional matrix to represent a 2d board game with cells using Java and Swing?

Grid Layout? Tables?

Pas de solution correcte

Autres conseils

The model of the board should be separate from its view so you can change your mind later if you find that one or the other doesn't work well.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top