It would seem like if you were going to create panes whose primary purpose was to simulate three dimensions by allowing one to sit on the other, one would also allow some easy code to tell components to sit on one another in that code... O_o Unfortunately this doesn't seem to be the case in java and its driving me bonkers X_x.
I'm trying to build two different JLayerPanes to hold two different panels... one panel is a nifty background image, the other contains vast numbers of GUI ellements. The problem is that in order to get the Panes to show when you build the frame, you have to set up a layout manager... and by doing this each of the JLayerPanes decide to sit next to one another... defeating the purpose of setting up a 3-D panel to begin with! T_T
Absolute positioning doesn't work, the Java API's definition of the word frame in their main method is the very definition of vague nor do I think this should be so complicated as to require absolute positioning. (The component is difficult to set up as it is). Anyone else run into this problem with JLayerPane?
If so, could you possible pass on what you know? It would be a great help! (I sent an e-mail to my teacher as well, if he gets something to me first I'll post it here).
Thank you,
Pascal