Lecture 26
5
Building window look and feel
•class JOIPanel extends Applet extends Panel
•init method creates a button and adds it to this Panel, sets font:
•38  button = new Button( "Press Me" );
•39  this.add( button );
•40  font = new Font("Garamond",          Font.BOLD, 48);