mainPanel.add(mapScrollPane); mainPanel.add(dataPanel, BorderLayout.EAST);
mainPanel.add(mainSplit);
    private JPanel createContentPane() {        mapScrollPane = new JScrollPane(                JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,                JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);        createToolbox();        createData();        createStatusBar();        mainPanel = new JPanel(new BorderLayout());        mainPanel.add(toolPanel, BorderLayout.WEST);        mainPanel.add(mapScrollPane);        mainPanel.add(dataPanel, BorderLayout.EAST);        mainPanel.add(statusBar, BorderLayout.SOUTH);        return mainPanel;    }