Read Chapter 6, section 7 of Introduction to Programming Using Java, Seventh Edition
6.1 The Basic GUI Application
6.2 Graphics and Painting
6.3 Mouse Events
6.4 Timers, KeyEvents, and State Machines
6.5 Basic Components
6.6 Basic Layout
6.7 Menus and Dialogs