Search code examples
javauser-interfaceswingjinternalframe

Order of layered JInternalPanes


I have some JInternalFrames in a JLayeredPane. Assume that the JInternalFrames are in the same layer of the JLayeredPane. Say that the JInternalFrames overlap in this layer. Anyone have an idea of how I can tell which JInternalFrames are ontop, and in what order they are layered?

Thanks


Solution

  • Look at the ZOrder of the component.