JPanel mapcenter = new JPanel(new BorderLayout());
// todo: Make continuouslayout an option. Because it can be slow, some
// todo: people may prefer not to have that.
layersPanel = new FloatablePanel(dataPanel, PANEL_LAYERS, "layers");
tabbedTilesetsPane = new TabbedTilesetsPane(this);
tilesetsPanel = new FloatablePanel(tabbedTilesetsPane, PANEL_TILE_PALETTE, "tilesets");
// build map center
mapcenter.add(createToolBar(), BorderLayout.NORTH);
mapcenter.add(mapScrollPane, BorderLayout.CENTER);