Closes the window, and resets its document and window peers to null.
public void close()
See Also getClosed