<Swing Dev> adding a component to a container that it is already a member of (specifically a JLayeredPane container)

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Sat Oct 26 00:49:47 UTC 2019


On 10/3/19 12:16 pm, Alan Snyder wrote:
> If this case is truly not supported, then the documentation should be improved to make it clear that this case is not supported.
> 
> Which direction should be taken? Fix the code or the documentation?

It is always better to document long-standing behavior instead fix it,
but for this particular bug, I guess it depends on the possible change in the fix.


-- 
Best regards, Sergey.


More information about the swing-dev mailing list