public class GWindowCloser
extends Object
This class will be used to safely close windows provided that their actionOnClose
action is G4P.CLOSE_WINODW.
This is done here, outside the windows normal Processing event loop to avoid
concurrent access errors.
This class has to be declared public so it can register the post event, but it should
not be used directly.
To close a window call the GWinodw close() method.
- Author:
- Peter Lager