title: how to correctly remove element in gwt (both `DOM.isOrHasChild` & `DOM.removeChild` were deprecated)?
body: <p>Ok, this code works</p>
  
  <pre><code>if(DOM.isOrHasChild(RootPanel.getBodyElement(), DOM.getElementById("loading"))){
          DOM.removeChild(RootPanel.getBodyElement(), DOM.getElementById("loading"));
  }
  </code></pre>
  
  <p>However, both <code>DOM.isOrHasChild</code> &amp; <code>DOM.removeChild</code> were deprecated. Then, the question is:</p>
  
  <p>What are the undeprecated code that can do the same task as the bove code? maybe use <code>releaseCapture</code> or something likes that?</p>