-
Bug
-
Resolution: Fixed
-
P2
-
7
-
b121
-
generic
-
generic
-
Verified
Specification for the following methods contradicts behavior of the reference implementation
Method javax.swing.plaf.LayerUI.installUI()
"... The default implementation registers the LayerUI as a property change listener for the passed JLayer component".
Method javax.swing.plaf.LayerUI.uninstallUI():
"... The default implementation unregisters the property change listener for the passed JLayer component."
In fact it is JLayer component who is registered or unregistered as property change listener of its LayerUI.
Behavior is kind of inversion to what is specified.
Method javax.swing.plaf.LayerUI.installUI()
"... The default implementation registers the LayerUI as a property change listener for the passed JLayer component".
Method javax.swing.plaf.LayerUI.uninstallUI():
"... The default implementation unregisters the property change listener for the passed JLayer component."
In fact it is JLayer component who is registered or unregistered as property change listener of its LayerUI.
Behavior is kind of inversion to what is specified.