add ComponentListener. Switch from WindowListener, 'cause WindowListener is the right choice for getting a following childWindow