A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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
logic:iterate and objects containing objects
Unable to understand this behavior...wht is happening??
Sun Sample queston #6
Problem printing JPanel in JTable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014