I have a problem with Java GUI.
How can I set a certain component to be in front of another component or behind it?!
i.e. Is there a way to: SendToBack & SendToFront in java?
If you are using java 1.5 or above, the java.awt.Container class (which pretty much every Swing UI component extends from in it's hierarchy) has a method setComponentZOrder(java.awt.Component, int) that you can use for this.