SyntaxFix
Write A Post
Hire A Developer
Questions
You need to create a new Jpanel object in the Board constructor. for example
public Board(){ JPanel pane = new JPanel(); pane.setBackground(Color.ORANGE);// sets the background to orange }