Hello !

I try to generate image in my servlet with awt Frame. There is one
inconvenient thing:
before image drawing I need to create Frame object which is appeared on
window terminal (X11 or MSWindows).
Do anyone know how to generate images without Frame-window appearing (and
configuring X-client/server on UNIX) ?

                        f = new Frame();
                        f.setVisible(true);
                        f.addNotify();
                        image = f.createImage(width, height);
                        graphics = image.getGraphics();
                        setFont(Font.PLAIN,font_size);
                        f.setVisible(false);

Thanks !
Best regards,
Roman Zvyaguintsev

___________________________________________________________________________
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

Reply via email to