classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: JLayeredPane fix


From: Roman Kennke
Subject: [cp-patches] FYI: JLayeredPane fix
Date: Fri, 01 Jul 2005 12:37:58 +0200

The attached patch fixes JLayeredPane.getLayer(). It now searches
through the components parents first to find the component that is
actually contained in the JLayeredPane. Otherwise we would get
IllegalArgumentExceptions for all components that are only indirectly
contained in a JLayeredPane.

2005-07-01  Roman Kennke  <address@hidden>

        * javax/swing/JLayeredPane.java
        (getLayer): Also search through the components parents to find
        the one that is actually directly contained in the JLayeredPane.

/Roman

Attachment: JLayeredPane.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]