* Updates the selected furniture in library and notifies listeners selection change.
*/
public void setSelectedFurniture(List<CatalogPieceOfFurniture> selectedFurniture) {
this.selectedFurniture = new ArrayList<CatalogPieceOfFurniture>(selectedFurniture);
if (!this.selectionListeners.isEmpty()) {
SelectionEvent selectionEvent = new SelectionEvent(this, getSelectedFurniture());
// Work on a copy of selectionListeners to ensure a listener
// can modify safely listeners list
SelectionListener [] listeners = this.selectionListeners.
toArray(new SelectionListener [this.selectionListeners.size()]);
for (SelectionListener listener : listeners) {