Layout that allows overlaping components
I posted this in the general forum, I didn't know there was a swing forum:
I want to implement some kind of swing component, as of right now I'm using a JPane; and painting an image on it, to create tiles of a game board.
The problem is the tiles aren't square and I don't know how to allow the JPanels or JButtons or whatever component is easiest, to overlap in the places i need them to.
Here is an image of the type of tiles I want to use.
http://home.insightbb.com/~twilightimp/current_map.jpg
Does anyone have any ideas?
Do you think using a JLayeredPane to house all my tiles in would work, with the z-component increasing every row from the middle row?
thanks
Message was edited by:
z0isch

