Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2008

Tip: Looking for answers? Try searching our database.

Swing UI - printing component hierarchy

Thread view: 
KN - 06 Mar 2008 13:25 GMT
Hi - can anyone help with this;

I remember being able to dump the contents of a swing user-interface
by focusing on the window/frame and pressing cntrl+print-scrn or some
other key (I think the jave console for the JRE had to be open).  But
this resulted in a window being displayed with the entire hirarchical
structure of the swing component being printed in
a textual form, nicely  formatted so the containment hierarchy could
be easily understood.

I used to do this years ago - when using a 1.3.1 JDK - but can't
remember how to do it now (now woring with a Sun 1.5 JDK) - can anyone
help.

Thanks in advance
Steve W. Jackson - 06 Mar 2008 14:24 GMT
In article
<b8a3bb00-8d64-43d5-95d7-7ad76a2f8109@d62g2000hsf.googlegroups.com>,

> Hi - can anyone help with this;
>
[quoted text clipped - 11 lines]
>
> Thanks in advance

What I recall being able to do -- and it still works in 1.5 -- is to use
Control-Shift-F1.  Our GUI application redirects the standard output and
error streams, and the output from this ends up in the standard output.

= Steve =
Signature

Steve W. Jackson
Montgomery, Alabama



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.