In VB, you can use zOrder. In .Net, it\'s .SetChildIndex.
zOrder
.SetChildIndex
Before you ask, no I\'m not using a layout manager in this case. If you have two
When compnents overlap on the panel then you need to tell the panel so it can make sure it repaints the components in their proper ZOrder:
You do this by overriding the isOptimizedDrawingEnabled() method of the JPanel to return false.
isOptimizedDrawingEnabled()
false