When I use dismiss
to remove a popup window, does it only hide it or removes it from memory?
I tried dismiss
, then showAtLocation
several times (using the same PopupWindw object, not re-creating it) and the window was displayed and hidden without problems. The question is can I count on it - perhaps it is marked for deletion by the GC, but hasn't been garbage-collected yet?
Thanks.