protected void buildContentPanel() {
lstPrimitives = new JList<>(model);
lstPrimitives.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
lstPrimitives.setSelectionModel(selectionModel);
lstPrimitives.setCellRenderer(new OsmPrimitivRenderer());
<BUG>lstPrimitives.setTransferHandler(new SelectionTransferHandler());
lstPrimitives.setDragEnabled(true);
lstPrimitives.getSelectionModel().addListSelectionListener(actSelect);</BUG>
lstPrimitives.getSelectionModel().addListSelectionListener(actShowHistory);
final SideButton selectButton = new SideButton(actSelect);

protected void buildContentPanel() {
lstPrimitives = new JList<>(model);
lstPrimitives.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
lstPrimitives.setSelectionModel(selectionModel);
lstPrimitives.setCellRenderer(new OsmPrimitivRenderer());
lstPrimitives.setTransferHandler(new SelectionTransferHandler());
if (!GraphicsEnvironment.isHeadless()) {
lstPrimitives.setDragEnabled(true);
}
lstPrimitives.getSelectionModel().addListSelectionListener(actSelect);
lstPrimitives.getSelectionModel().addListSelectionListener(actShowHistory);
final SideButton selectButton = new SideButton(actSelect);
