[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/27297] The third and subsequent internal frames cannot be clo
audriusa at bluewin dot ch
[Bug swing/27297] The third and subsequent internal frames cannot be closed
2 May 2006 05:27:07 -0000
------- Comment #7 from audriusa at bluewin dot ch 2006-05-02 05:27 -------
(In reply to comment #6)
> The patch looks ok to check in. I can't see how this would help though
> tested yet, but the loops look equivalent at first glance).
In the previous version, for the invisible component, the statement 'continue'
is executed without incrementing the loop, variable 'index'. Hence during the
next iteration the loop variable value stays the same, causing the endless
loop. The path forces alwayst to increment the loop variable, changing while
into for. The alternative fix would be to increment the 'index' before
executing 'continue', but using 'for' seems more clear.
- [Bug swing/27297] The third and subsequent internal frames cannot be closed,
audriusa at bluewin dot ch <=