wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes GraphicsEnvironment problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "GraphicsEnvironment problem" Watch "GraphicsEnvironment problem" New topic

GraphicsEnvironment problem

Patrik Westlund

Joined: Oct 28, 2001
Posts: 3
I'm having a problem with a server application running on linux. The server creates Font objects and therefore calls GraphicsEnvironment.getLocalGraphicsEnvironment(). When starting the program on the linux machine under X11 it runs fine. But if I try to start it remotely via telnet I get a null pointer from the GraphicsContext.
The server program doesn't display any graphics, it just creates the objects and passes them to the client programs. Does anyone know a way to start the program without having to run X11 on the server? Or running a X-Term emulation on the remote machine?
/Patrik Westlund

/Patrik Westlund<BR> <A HREF="http://www.nescit.com" TARGET=_blank rel="nofollow">www.nescit.com</A>
I agree. Here's the link: http://aspose.com/file-tools
subject: GraphicsEnvironment problem
Similar Threads
Need help configuring X11 server
Create Image in servlet WITHOUT invoking java.awt.Toolkit - Can it be done?
Getting segmentation fault 11 running Java GUIs on Unix via XWin
Produce image dynamicly by servlet
Adding Schedular java program on Tomcat Server