A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Badass: Making Users Awesome
this week in the
Swing / AWT / SWT
Modify how a container adds children
Joined: Mar 11, 2012
May 24, 2012 13:59:05
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?
Joined: Jun 09, 2003
May 24, 2012 16:41:31
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:
subject: Modify how a container adds children
Problem printing JPanel in JTable
Sun Sample queston #6
Unable to understand this behavior...wht is happening??
logic:iterate and objects containing objects
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015