This patch should fix bug [ 1581203 ] "Date changing".
The problem was that the DatePicker txtDate had an actionListener attached to it that was only designed to handle text fields (StrangeSwing.actionPerformed()).
However, txtDate is now a DatePicker, so it was ignored.
The patch attaches a actionListener that compares the dates and sets the new one, if necessary.
Converted from SourceForge issue 1728821, submitted by jeroen_wouters
This patch should fix bug [ 1581203 ] "Date changing". The problem was that the DatePicker txtDate had an actionListener attached to it that was only designed to handle text fields (StrangeSwing.actionPerformed()). However, txtDate is now a DatePicker, so it was ignored. The patch attaches a actionListener that compares the dates and sets the new one, if necessary.