Z-order

Any way to bring an object in front of the user setting the Z-order?
Thanks!

In the designer you can use the toolbar buttons that look like stacks and have red arrows indicating direction on them.

At run time… I don’t know. I’m guessing you could use Java to change the z-order of the underlying Java object.

Yes, the z-order can be set dynamically through scripting. Containers have the method “setComponentZOrder(Component comp, int index)”

More information here: docs.oracle.com/javase/7/docs/ap … ,%20int%29