开发者

How to draw interactive frame over user's desktop using java applet?

I need to capture portion of user screen usign java a开发者_如何学JAVApplet. It is easy to do using Robot class but I'd like user to select which portion of screen to capture in draggy-droppy way.

So I need to draw rectangular frame over users desktop and response when user resizes it.

How could I do it? Thnx.


Read the section from the Swing tutorial on How to Use Root Panes for an example that shows you how to use a Glass Pane.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜