This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 12756
    
    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...
 
Similar Threads
Is there any possibility to make a frame a Modal one ??
frameobject
How to show Modelless Frame
frame buffering
View new frame while open a frame?