Home Segments Top Top Previous Next

686: Mainline

The windowClosing method shown in Segment 685 returns no value; and that method has one parameter, an instance of the WindowEvent class, which happens to be ignored in the windowClosing method, as defined.

In general, however, event parameters are extremely important. In Segment 925, for example, you learn that such parameters allow you to determine exactly which component has generated an event, in situations where multiple components could have generated an event.