1 | In Java, the GUI (Graphical User Interface) is built hierarchically in terms of Components -- one Component nested inside another starting with the smallest Buttons, including Menus, TextFields etc. and ending with full Window divided into Frames, MenuBars etc. |
2 | Not all useful Classes are inherited from Component. For instance Menu inherits from MenuComponent (interface) --> MenuItem --> Menu |
3 | One also needs a set of methods and classes to define the layout of the Components in a particular Panel |
4 | LayoutManager is a java.awt interface with several particular layout strategies implemented as classes under this interface |
5 | The Container class has methods to interact with LayoutManager classes |