views:

121

answers:

1

I need to capture portion of user screen usign java applet. 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.

A: 

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.

camickr