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 Other JSE/JEE APIs and the fly likes graphics2D api requires a window??? 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 » Other JSE/JEE APIs
Bookmark "graphics2D api requires a window???" Watch "graphics2D api requires a window???" New topic
Author

graphics2D api requires a window???

Jesse Elder
Greenhorn

Joined: Apr 17, 2002
Posts: 8
Attempting to read in an image via JPEG encoder, resize, and save the image to a disk. This is done in a class called on the server side. JServ is complaining about needing a window. Anyone know of a way to render an image without using Graphics 2D or without a window?
Jesse Elder
Greenhorn

Joined: Apr 17, 2002
Posts: 8
My error is java.lang.InternalError: Can't connect to X11 window server using ":0.0" as the value of the DISPLAY variable.
found possible solutions here: http://forum.java.sun.com/thread.jsp?forum=33&thread=66420
thanks,
Jesse
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: graphics2D api requires a window???
 
Similar Threads
Silent Printing
AWT Window with background
how to insert multiple value in database
Help the body "onunload" attribute FAILS with AOL
Display IMG from Blob database field ?