Good, I would like to know how to get the parent container properties, for example: If I add a panel to a JFrame I would like the panel to obtain the size of the component that is maintaining it or get its layout.
Any method (s) to choose the properties of the parent container?