I'm trying to get 3 different panels to overlap eachother.
Simple description: I've got a simple map and on top of this map I need a Compass and a few Textfields.
What would be the best approach in fixing this issue?
On desktop.
(Java)
I'm trying to get 3 different panels to overlap eachother.
Simple description: I've got a simple map and on top of this map I need a Compass and a few Textfields.
What would be the best approach in fixing this issue?
On desktop.
(Java)
Good question and you can indeed. You need to use the JLayeredPane. From the looks of things it works similar to ordinary panes except you can specify which layer certain components reside.