currentComponent = propertyPanel;
getScrollPane().setViewportView(propertyPanel);
} else if (selectedItem instanceof Accident) {
PnlAccidentProperties propertyPanel = new PnlAccidentProperties();
propertyPanel.setAccident((Accident) selectedItem);
currentComponent = propertyPanel;
getScrollPane().setViewportView(propertyPanel);
} else {