Slide 9 of 13
Notes:
Applet layout initialising method: init().
Line 14 defines the applet window BorderLayout. This lays out a window container, arranging and resizing its components to fit in five regions: North, South, East, West, and Center. The function parameters (5,5) define 5-pixel gaps between the regions.
Line 15 sets the applet background colour.
Lines 16-18 define the top panel and inserts the applet title.
Lines 20 to 25 describe the right hand panel. Line 21 splits this panel using GridLayout into one column with 16 rows. Only the top row is filled with a sensibly sized scrollbar, the rest are empty to fill the panel space.