public void addImage(String filename) {
		ImageComponent ic = null;
		try {
			ic = new ImageComponent(filename);
		} catch (Exception e) {
			e.printStackTrace();
			return;
		}
		ic.setModel(getModel());
		layerBasket.add(ic);
		ic.setLocation(10, 10);
		getModel().notifyChange();
		if (!doNotFireUndoEvent) {
			ic.setSelected(true);
			getModel().getUndoManager().undoableEditHappened(new UndoableEditEvent(getModel(), new UndoableLayeredComponentOperation(UndoAction.INSERT_LAYERED_COMPONENT, ic)));
			updateUndoUIComponents();
		}
	}