aspose file tools*
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
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???