/** * Deletes a <tt>WhiteboardShape</tt> from the white-board. * * @param wbSession the white-board session, to which the object belongs * @param ws the shape to delete */ public void deleteWhiteboardObject(WhiteboardSession wbSession, WhiteboardShape ws) { try { wbSession.deleteWhiteboardObject(ws); } catch (OperationFailedException ex) { ex.printStackTrace(); } }