I have the following code in my main method:
public static void main(String[] args)
{
Image inImage = new ImageIcon("C:\\logo.gif").getImage();
System.out.println("inImage.getWidth()="+inImage.getWidth(null));
System.out.println("inImage.getHeight()="+inImage.getHeight(null));
}
I get the correct output but how come the program never exits? How to make
the program exit?
kim.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com