public class Dives extends JPanel { // Opens class public Dives() {// Opens constructor // Sets the layout for the page and the // background to white. setLayout(new BorderLayout()); setBackground(Color.white); // Initializes the placeholder classes. NorthPanel northPanel = new NorthPanel(); CenterPanel centerPanel = new CenterPanel(); WestPanel westPanel = new WestPanel(); // Adds class objects to panel regions. add("North", northPanel); add("West", westPanel); add("Center", centerPanel); } // Closes constructor