File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes obtaining the component tree for a particular JPanel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "obtaining the component tree for a particular JPanel" Watch "obtaining the component tree for a particular JPanel" New topic
Author

obtaining the component tree for a particular JPanel

toto litoto
Greenhorn

Joined: May 29, 2002
Posts: 4
JPanel myPanel = new JPanel();
Component[] componentsmyPanel.getComponents();
 
 
subject: obtaining the component tree for a particular JPanel