开发者

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

开发者 https://www.devze.com 2022-12-20 13:14 出处:网络
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.

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

精彩评论

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