File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes sending images... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "sending images..." Watch "sending images..." New topic
Author

sending images...

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
In Servlet, when we have a Frame object as ImageObserver why do we need to call addNotify() from the Frame object?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
The call to addNotify is required so you can get a Graphics context. Without a Graphics context, you can't process an image file.
Bill
Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Thank you Bill!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sending images...