Java Image Import Display
<p>I am having trouble understanding if I am reading my images in correctly. My code with a random Bill Gates Picture:</p>

<pre><code>import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;

public class ReadingImage {

    public static void main(String[] args) {    
        //readImage("billgates.jpg");


        BufferedImage img = null;
        try {
            img = ImageIO.read(new File("billgates.jpg"));
        } catch (IOException e) {

        }

    }
}
</code></pre>

<p>The problem is that a java icon pops up  on the doc(mac user) but no window or anything displays it. This is my first time importing a java image file so bare with me. </p>

<p>Can you save images into arrays and display them on demand, ie is there a function for displaying? I don't recall the above code actually requesting the image to be displayed.</p>

<p>Thanks</p>
