Java VNC 小程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/136518/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Java VNC Applet
提问by Sam Cogan
Does any one know of an opensource Java VNC server, that can be run from a web page, so requiring no installation on the server end, possibley applet based.
有谁知道开源Java VNC服务器,它可以从网页上运行,所以不需要在服务器端安装,可能是基于小程序的。
采纳答案by pfranza
http://vncj.com/default.aspxOnce you get it setup you wont know how you lived w/o it. The server and the client are using the same .jar file all in the html page pointing where your listen client is at.
http://vncj.com/default.aspx一旦你安装了它,你就不会知道没有它你是如何生活的。服务器和客户端在 html 页面中使用相同的 .jar 文件,指向你的监听客户端所在的位置。
回答by jsight
A signed Java applet (or application) can use the Robot class to get screenshots of the current window and use this for remote control. It will never be very efficient, but it can be done.
已签名的 Java 小程序(或应用程序)可以使用 Robot 类获取当前窗口的屏幕截图并将其用于远程控制。它永远不会非常有效,但可以做到。
回答by Martijn
The accepted answer is wrong —?it is perfectly possible to build a VNC server in Java. Yes, Java is sandboxed, but this doesn't mean it cannot access screen contents if you want it to!
接受的答案是错误的——用 Java 构建 VNC 服务器是完全可能的。是的,Java 是沙盒的,但这并不意味着它不能访问屏幕内容,如果你愿意的话!
回答by Sam Cogan
Unfortunately Tight VNC only offers an applet based client, and not server, and GSVNCJ is closed source.
不幸的是,Tight VNC 仅提供基于小程序的客户端,而不提供服务器,并且 GSVNCJ 是封闭源代码。

