https://issues.apache.org/ooo/show_bug.cgi?id=122576

Andre <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Andre <[email protected]> ---
Just when I wanted to check in my changes I discovered that bug 124096
describes a very similar problem and had just been fixed with almost the
identical solution (calling setDockingAreaAcceptor(NULL) from within
disposing() when the frame is disposed).
To be on the safe side I added a similar call to the destructor of
LayoutManager.

Calling setDockingAreaAcceptor(NULL) unregisters the window listeners.  But it
has to be done before the frame is disposed or otherwise
setDockingAreaAcceptor() leaves without doing anything.  For this reason the
call in the destructor usually does nothing.  I added it just in case the frame
is not disposed or disposed after the layoutmanager.  I think the later should
be the case but then again LayoutManager itself is never disposed, so it looks
like the destruction sequence is not so well defined.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

Reply via email to