What is the paintComponent method? How is it used in Java graphics? How does a program intentionally cause the paintComponent method to execute?
What does invoking the base class paintComponent method accomplish?
What window events can a program handle? Explain the difference between the WindowListener interface and the WindowAdapter.