title: How to break/pause reading of an image?
body: <p>I am creating a panel which is showing large image. I am using <code>ImageIO.read(URL)</code> method to show the image. Now I have to add functionality to break or pause the reading process of the given image URL. </p>
  
  <p>How can I do this?</p>
  
  <pre><code>BufferedImage image = null;
  URL urlImage = new URL(surl);
  image = ImageIO.read(urlImage);
  </code></pre>