I have the folowing custom JPanel and I have aded it to my frame using Netbeans GUI builder but the background won\'t change! I can see the circle, drawing with g.fillOval()
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 }