Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

graphics2D api requires a window???

 
Jesse Elder
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic