-
Bug
-
Resolution: Fixed
-
P5
-
5.0
-
b14
-
x86
-
linux
Testing with JDK1.5.0b63.
When the BasicMenuUI is attached to javax.swing.JMenu during its initialization it registers twice the same property change listener to this JMenu item. Both are BasicMenuUI.Handler instances once created from BasicMenuUI.installListeners and second created by BasicMenuItemUI.installListeners again calling overloaded getHandler() method.
It means that for each property change event it executes the same code twice.
###@###.### 2004-09-16
When the BasicMenuUI is attached to javax.swing.JMenu during its initialization it registers twice the same property change listener to this JMenu item. Both are BasicMenuUI.Handler instances once created from BasicMenuUI.installListeners and second created by BasicMenuItemUI.installListeners again calling overloaded getHandler() method.
It means that for each property change event it executes the same code twice.
###@###.### 2004-09-16