I thought my post said the Container class's add() method.which method are you talking about?
Can you explain what problems you are having using the add() method?
You must already use the add() method in your GUI to show components in a JFrame's window.
Its the same method, used the same way. The container you are adding to is the ChessBoardView that extends JPanel (a Container).
Your code gets references to Square objects using the ChessBoard class's getSquare() method.
You need to add all 64 Square objects to the container with gridlayout. Use a loop that goes around 64 times.