posted 20 years ago
hey, I am working on a program that really doesnt do anything. But I was trying to utilize JSpinners using the SpinnerNumberModel. Here's what I am trying to have work. If I have two JSpinners, and I click to change the value on one of them, how can I find out whether it went up or down so I can change the other Spinner in the opposite direction? Is there a way I can check the number that was previously shown on the spinner, or at least get the source of whether the up or down arrow was clicked?
Thanks a lot, and if this was supposed to be in another forum... my apologies.