Hey there,
since I wanted to use the Jabaco Spinner control I had to change a couple of things in my Jabaco Framework to get it to work as expected.
The MouseListener and the KeyListener are obsolete for the JSpinner so I removed them.
Basically there where no Events fired that would allow to confirm value changes.
I added a ChangeListener.
I realized that the implementation of Spinner1.Value should rather set the Value of the underlying SpinnerListModel not of the editor otherwise an initial Change() Event will be fired twice.
It also delivers wrong values when the spinner changes after values are typed to the spinner.
I think the spinner works more precise when we access its models values directly! (I did only limited testing on this!)
I posted some code on how to implement a custom SpinnerListModel in a
different thread. With the Change() event it is now possible to actually use this control.
It would be nice to have this in the Jabaco Framework too:
->
Spinner.txt
Dani