In a small java swing 2D game, what is the best solution for creating the board view?
- Use a component for the board and custom paint it and each square of the checker at once?
- Use a component for the board and create another component modelizing the square with its own paint component doing the job for the square only. Use a layout to place each Square instance in the board?
I know this is subjective and I don't want a fight about it. I just need some clues to figure myself which way I should go. I've begun a side project and I've using 1), with the feeling that there is something wrong.