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 Modify how a container adds children Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Modify how a container adds children" Watch "Modify how a container adds children" New topic
Author

Modify how a container adds children

Tom Josephits
Ranch Hand

Joined: Mar 11, 2012
Posts: 31
Basically, I have a grid in my display and I need to track it's children using a 3x3 array. How can I modify the container code to make it use the array instead of what it normally uses?
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
I doubt I'm reading this correctly, but each component has a name property.
you might be able to use that to ID the array index/s
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Modify how a container adds children