mapOverview = new OverviewMapJComponent(gUIComponentFactory);
mapOverview = new OverviewMapJComponent(guiRoot);
    private void initComponents() {//GEN-BEGIN:initComponents        java.awt.GridBagConstraints gridBagConstraints;        jSplitPane1 = new javax.swing.JSplitPane();        rhsjPanel = new javax.swing.JPanel();        mapOverview = new OverviewMapJComponent(gUIComponentFactory);        trainsJTabPane1 = new TrainsJTabPane();        lhsjPanel = new javax.swing.JPanel();        mainMapView = new javax.swing.JScrollPane();        statusjPanel = new javax.swing.JPanel();        datejLabel = new DateJLabel();        cashjLabel = new CashJLabel();        jMenuBar1 = new javax.swing.JMenuBar();        gameMenu = new GameMenu(modelRoot, gUIComponentFactory);        buildMenu = new BuildMenu();        displayMenu = new DisplayMenu(gUIComponentFactory);        helpMenu = new HelpMenu(gUIComponentFactory);        getContentPane().setLayout(new java.awt.GridBagLayout());        addWindowListener(new java.awt.event.WindowAdapter() {            public void windowClosing(java.awt.event.WindowEvent evt) {                exitForm(evt);            }        });        jSplitPane1.setResizeWeight(0.8);        rhsjPanel.setLayout(new java.awt.GridBagLayout());        rhsjPanel.add(mapOverview, new java.awt.GridBagConstraints());        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridy = 3;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.weightx = 1.0;        gridBagConstraints.weighty = 1.0;        rhsjPanel.add(trainsJTabPane1, gridBagConstraints);        jSplitPane1.setRightComponent(rhsjPanel);        lhsjPanel.setLayout(new java.awt.GridBagLayout());        mainMapView.setAlignmentX(0.0F);        mainMapView.setAlignmentY(0.0F);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 0;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.weightx = 1.0;        gridBagConstraints.weighty = 1.0;        lhsjPanel.add(mainMapView, gridBagConstraints);        statusjPanel.add(datejLabel);        statusjPanel.add(cashjLabel);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 1;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.weightx = 1.0;        lhsjPanel.add(statusjPanel, gridBagConstraints);        jSplitPane1.setLeftComponent(lhsjPanel);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 0;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.weightx = 1.0;        gridBagConstraints.weighty = 1.0;        getContentPane().add(jSplitPane1, gridBagConstraints);        gameMenu.setText("Game");        jMenuBar1.add(gameMenu);        buildMenu.setText("Build");        jMenuBar1.add(buildMenu);        displayMenu.setText("Display");        jMenuBar1.add(displayMenu);        helpMenu.setText("Help");        jMenuBar1.add(helpMenu);        setJMenuBar(jMenuBar1);        pack();    }//GEN-END:initComponents