I could not find it in any documentation, but as far as I found out experimental calling getAllFrames()
returns all internal frames exactly in their z order.
Does anyone know if this observation is always true or can give any reference for it?
I could not find it in any documentation, but as far as I found out experimental calling getAllFrames()
returns all internal frames exactly in their z order.
Does anyone know if this observation is always true or can give any reference for it?
Does anyone know if this observation is always true
I would say yes.
or can give any reference for it?
Look at the source code for the getAllFrames()
method. It just iterates through all the components in the container. And since the components are always in ZOrder when you do this iteration the returned array will be in ZOrder.