[SWINGX-1417] JXRadioGroup does not propery implement ActionListener methods Created: 15/Mar/11  Updated: 15/Mar/11  Resolved: 15/Mar/11

Status: Resolved
Project: swingx
Component/s: Misc Component
Affects Version/s: 1.6.2
Fix Version/s: 1.6.3

Type: Bug Priority: Major
Reporter: Karl Schaefer Assignee: Karl Schaefer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: serialization


JXRadioGroup uses an ArrayList to manage ActionListeners. This is incorrect behavior because it can cause incorrect notification if the list is altered during notification. We should use the EventListenerList built into JComponent.

This also causes serialization fail to because EventListenerList will not attempt to serials unserializable listeners, but the ArrayList will.

Comment by Karl Schaefer [ 15/Mar/11 ]

SWINGX-1417: Ensure that we are using EventListenerList to manage the ActionListeners for JXRadioGroup.


Committed revision 3958.

Generated at Tue Feb 21 19:45:37 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.