开发者

Remote GraphicsEnvironment Java Swing

The API from Java seems to indicate that it is possible to have a GraphicsEnvironment that is running in a separate machine:

The resources in this GraphicsEnvironment might be local or on a remote machine. GraphicsDevice objects can be screens, printers or image buffers and are the destination of Graphics2D drawing methods.

This seems to indicate that it is possible to run a Java Application in one computer but display the screen completely in another computer.

Now, I've not found if this is possible in the internet. If this is possible, how can it be m开发者_如何学Cade? How can I draw into a separate computer?


I don't believe that Java has this facility directly. The note in the documentation refers to the fact that the underlying operating system might support some facility that allows the graphics environment to be remote from the machine actually running the application. For example, linux systems allow you to "ssh -X" to another machine and run GUI applications. The application itself is running on the remote machine, but the GUI display is on the local machine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜