Assignment 6

Due before class on Friday, May 22nd

  1. Describe two different ways to implement event handling in Java, and why you would choose one over another for a particular applet or application.
  2. Write an applet which uses a FlowLayout, a BorderLayout and a GridLayout for three different panels. The panels should have 4, 5 and 6 components, respectively. The choice of the components is up to you, but the components and their layout should be appropriate for each layout manager (i.e., don't try to lay out a grid of components in your BorderLayout panel).
  3. Exercise 10.16
  4. Exercise 10.25