1 | So far, whenever we "add" a component such as a button or a textfield to an applet, it placed the component in the next available space from left-to-right and from top-to-bottom. |
2 | This is actually the default Layout, called FlowLayout. |
3 | There are additional Layouts that divide the applet area into sub-areas. We will show in the next pages GridLayout and BorderLayout. |
4 | label |
5 | label |
6 | button |
7 | textfield |
8 | textfield |