Layout/on top order
I'm new to java and have been trying to program a GUI. I have several components siting on a panel and am having some problems understanding Java.
Is there an order to how items are displayed on the screen? Also, how can I have an item "on-top"?
It seems that the items are placed on the screen in the reverse order that I want them. That is I created a Shadow, a box (i.e., panel), button, and text area. If the order of my code is text area, button, box shadow all is well. Any other combination and items are missing.
You don't appear to have come across Layout Managers. I suggest you do this tutorial:
Some people find layout managers too complicated and use absolute positioning of componenets e.g. (20, 31).
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center