JSplitPane paletteSplit = new JSplitPane(
paletteSplit = new JSplitPane(
    private JPanel createContentPane() {        mapScrollPane = new JScrollPane(                JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,                JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);        mapScrollPane.setBorder(null);        createData();        createStatusBar();        // todo: Make continuouslayout an option. Because it can be slow, some        // todo: people may prefer not to have that.        JSplitPane mainSplit = new JSplitPane(                JSplitPane.HORIZONTAL_SPLIT, true, mapScrollPane, dataPanel);        mainSplit.setOneTouchExpandable(true);        mainSplit.setResizeWeight(1.0);        mainSplit.setBorder(null);        tabbedTilesetsPane = new TabbedTilesetsPane(this);        JSplitPane paletteSplit = new JSplitPane(                JSplitPane.VERTICAL_SPLIT, true, mainSplit,                tabbedTilesetsPane);        paletteSplit.setOneTouchExpandable(true);        paletteSplit.setResizeWeight(1.0);        mainPanel = new JPanel(new BorderLayout());        mainPanel.add(createToolBar(), BorderLayout.WEST);        mainPanel.add(paletteSplit, BorderLayout.CENTER);        mainPanel.add(statusBar, BorderLayout.SOUTH);        return mainPanel;    }