wood burning stoves 2.0*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Modify how a container adds children" Watch "Modify how a container adds children" New topic

Modify how a container adds children

Tom Josephits

Joined: Mar 11, 2012
Posts: 28
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
Similar Threads
logic:iterate and objects containing objects
Unable to understand this behavior...wht is happening??
Sun Sample queston #6
Problem printing JPanel in JTable