This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
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


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

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/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Select a JFrame