aspose 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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Modify how a container adds children