private void removeSelectedObjects() {
		List<TBond> deletedTBond = new ArrayList<TBond>();
		synchronized (model.tBonds) {
			for (TBond tb : model.tBonds) {
				if (tb.isSelected())
					deletedTBond.add(tb);
			}
		}
		if (!deletedTBond.isEmpty()) {
			for (TBond tb : deletedTBond)
				view.removeTBond(tb);
		}
		List<ABond> deletedABond = new ArrayList<ABond>();
		synchronized (model.aBonds) {
			for (ABond ab : model.aBonds) {
				if (ab.isSelected())
					deletedABond.add(ab);
			}
		}
		if (!deletedABond.isEmpty()) {
			for (ABond ab : deletedABond)
				view.removeABond(ab);
		}
		List<RBond> deletedRBond = new ArrayList<RBond>();
		synchronized (model.rBonds) {
			for (RBond rb : model.rBonds) {
				if (rb.isSelected()) {
					deletedRBond.add(rb);
				}
			}
		}
		if (!deletedRBond.isEmpty()) {
			for (RBond rb : deletedRBond)
				view.removeRBond(rb);
			model.removeGhostABonds();
			model.removeGhostTBonds();
		}
		int n = model.getAtomCount();
		BitSet bs = new BitSet(n);
		for (int k = 0; k < n; k++) {
			if (atom[k].isSelected())
				bs.set(k);
		}
		if (bs.cardinality() > 0)
			view.removeAtoms(bs);
		model.formMolecules();
		view.repaint();
	}