mainPanel.add(toolPanel, BorderLayout.WEST);
mainPanel.add(createToolBar(), BorderLayout.WEST);
    private JPanel createContentPane() {        mapScrollPane = new JScrollPane(                JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,                JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);        mapScrollPane.setBorder(null);        createToolBar();        createData();        createStatusBar();        JSplitPane mainSplit = new JSplitPane(                JSplitPane.HORIZONTAL_SPLIT, false, mapScrollPane, dataPanel);        mainSplit.setResizeWeight(1.0);        mainPanel = new JPanel(new BorderLayout());        mainPanel.add(toolPanel, BorderLayout.WEST);        mainPanel.add(mainSplit);        mainPanel.add(statusBar, BorderLayout.SOUTH);        return mainPanel;    }