Rob Camick wrote:Read the Swing tutorial on How to Use Layered Panes for working examples.
You need to specify an Integer value when you add components to the layered pane to control the order in which components are painted. Also I would not extend JLayeredPane. Just add compnents to it.
Post your SSCCE demonstrating the problem if you need more help.