File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "sending images..." Watch "sending images..." New topic

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

Joined: Mar 22, 2000
Posts: 12675
The call to addNotify is required so you can get a Graphics context. Without a Graphics context, you can't process an image file.

Java Resources at
Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Thank you Bill!
I agree. Here's the link:
subject: sending images...
Similar Threads
View new frame while open a frame?
Is there any possibility to make a frame a Modal one ??
frame buffering
How to show Modelless Frame