I am using the UI Designer in IDEA 7.0.1. I noticed there is no pre-configured component in the palette for JLayeredPane. I added one to the palette with support for "isContainer". I was also able to use this component in my form and I was able to add my own components to this JLayeredPane in my form. But, it appears that under the covers, the GUI builder only calls the generic version of the add method like this
instead of the version needed by JLayeredPane to specify the layer number like this:
layeredPane.add(myComponent, new Integer(i));
Is there any way for the UI builder to call the add() method with a constraints object?
Is there any way to get around this?