[PATCH] 6463712: JSpinner forwards events from old model
david.gilbert at object-refinery.com
Mon May 14 06:51:33 PDT 2007
The attached patch is a proposed fix for bug 6463712. It is a one-line
fix to the setModel(SpinnerModel) method - the listener that works on
behalf of the JSpinner to forward events from the model needs to be
deregistered from the old model when a new model is assigned.
The patch includes a regression test that can be run using jtreg. I
also tested using the JSpinner-related tests in Mauve.
I'm working against the initial OpenJDK source release (b12).
Any questions, just ask...
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the swing-dev