mainPanel = new JPanel();
mainPanel = new JPanel(new BorderLayout());
trackControlPanel = new TrackControlPanel();
locomotiveControlPanel = new LocomotiveControlPanel();
mainPanel.add(trackControlPanel, BorderLayout.CENTER);
mainPanel.add(locomotiveControlPanel, BorderLayout.SOUTH);
add(mainPanel, BorderLayout.CENTER);