overlapping multiple panels
843804Dec 2 2004 — edited Dec 3 2004I am trying to code a game.
1st problem :
I want to create a bkgrnd image and multiple panels and image buttons on top of it.
I tried using JPanel inside JFrame to get the image, but then I can't position the multiple JLabels (with imageicons) exactly where I want using the layout managers.
I tried using JDesktopPane or JLayeredPane with internal frames, but I cannot get undecorated frame inside it (no window title bar)
2nd problem : I have actionlisteners defined on invisible buttons on top of the JLabels, am not sure if thats the best way to do it.