danny,
thank you very much! what i had done was almost the same thing, but i've
tryied using Panel, not Frame! :-(...
guich.
>>> Danny Rubis <[EMAIL PROTECTED]> 11/07/99 12:22 >>>
> public void doGet(HttpServletRequest request, HttpServletResponse response)
> {
> OutputStream out = response.getOutputStream();
>
> Frame frame = new Frame();
> frame.addNotify();
>
> Image image = frame.createImage( 100, 100 );
> Graphics graphics = image.getGraphics();
> graphics.setColor( Color.red );
> graphics.drawOval(0, 0, 99, 99);
>
> response.setContentType( "image/gif" );
>
> GifEncoder encoder = new GifEncoder( image, out );
> encoder.encode();
> out.flush();
> }
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html