P1.11 of Page 30 (The 4th edition)

Get an image from Internet and show on your screen.

import java.net.URL;
import javax.swing.ImageIcon;
import javax.swing.JOptionPane;

public class Test
{
   public static void main(String[] args) throws Exception
   {
	URL imageLocation = new URL (
            "http://horstmann.com/bigjava/duke.gif"); 	
	JOptionPane.showMessageDialog(null, "Hello", "Title",
            JOptionPane.PLAIN_MESSAGE, new ImageIcon(imageLocation));
 	System.exit(0);
   }
}
Run the above program then modify it to show a different greeting and image.
For example, can you make the following window?
  The image is located at "http://biobio.loc.edu/chu/web/Courses/COSI223/book.jpg"
   The image is located at "http://www.horstmann.com/bigj4/bigjava.jpg"