> I would like to bind a member function to the
> application close icon (The 'X' in the upper right
> hand corner of the applications main window).
>
>Does anyone know how to do this?
Create a WindowAdapter and override the windowClosing event to call the method you want. Then do
Window w = ...
w.addWindowListener(myListener);