I'm creating a little game. I know how to set a background color to a JPanel.

```
pane.setBackground(Color.RED);

```

My problem is, I've a BorderPane as layout and if I want to place something in the south I need to create a new JPane. Foreach pane I create i need to set the background color again. My Question is, is it possible to set the background color for every pane at once?