my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes Select a JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Select a JFrame" Watch "Select a JFrame" New topic
Author

Select a JFrame

Paras Ahuja
Ranch Hand

Joined: May 22, 2012
Posts: 62
Hi everyone,

it possible to select a jframe and, therefore, all the components within it by dragging the mouse over the frame (you know the way we select things normally on our pc). If yes, how?
Also if not jframe any other container or component like jpanel,jlabel etc..
Can we select them by draging the mouse over them?
Thanks in advance....
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
select them to do what?
Paras Ahuja
Ranch Hand

Joined: May 22, 2012
Posts: 62
You know for basic purposes, like paste the jframe on msword, mail it to someone etc....
I know I can always use PrtSc but i am just looking for other options....
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
Rob Camick's ScreenImage class might suit

http://tips4java.wordpress.com/2008/10/13/screen-image/
 
 
subject: Select a JFrame
 
Similar Threads
combo box length
MouseMotionListener
Tooltip stay longer?
Pasting by using mouse
TableViewer w/Checkbox Selection