Hi,
I've two JButton. I want to set its z-index order in Swing. How can I do it?
Thanks in advace.
Printable View
Hi,
I've two JButton. I want to set its z-index order in Swing. How can I do it?
Thanks in advace.
The Container class has a setComponentZOrder method that you can use.
The api Method Detail section has details.