We create 2 methods drawSquare(..) and drawBoard(..).
On this page of the site you can watch the video online Java Chess 003: Refactoring Java code for chess board with a duration of hours minute second in good quality, which was uploaded by the user Golden Thumb | Stories & Code 05 November 2020, share the link with friends and acquaintances, this video has already been watched 1,116 times on youtube and it was liked by 9 viewers. Enjoy your viewing!