aspose 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
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: 12821
    
    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...