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 Java 8 in Action this week in the Java 8 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: 12683
    
    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

Java Resources at www.wbrogden.com
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
frameobject
View new frame while open a frame?
frame buffering
How to show Modelless Frame
Is there any possibility to make a frame a Modal one ??