Remove TitleWindow

oscar's Avatar


28 Mar, 2010 07:21 PM

I'm creating and removing a title window, and will always have just once instance of it.
I'm removing the TitleWindow with:

PopUpManager.removePopUp( myWindow );

But obviously I need to do something else, because the window is not completely removed. I notice that because I have a trace statement in a function in a mediator, and every time I open a new window, the trace prints one more line (and I just have one TitleWindow, at leas visible). In other words, if I open and close the window e times, the trace print 3 lines.

Thanks in advance.

  1. Support Staff 1 Posted by Shaun Smith on 29 Mar, 2010 04:06 PM

    Shaun Smith's Avatar

    Are you manually creating a mediator for the popup? If so you will need to manually remove it as well.

  2. oscar closed this discussion on 24 Jul, 2010 04:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac