I have a GUI with two JSpinner's and a Spinner Model attached to each of them. When changing one value, the other changes. I suspect this is because I'm using the same model. This is obviously not what I intend to do, is there a better way than creating another Spinner Model with the same value's?
Doogledude123
45
Posting Whiz
Recommended Answers
Jump to PostIf you want two independent spinners then why are you worrying about giving each its own model?
Jump to PostI'm confused.
If you want them to change together use one model.
If you wnt them to change independently use two models.
What's the problem?
All 5 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Doogledude123
45
Posting Whiz
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Doogledude123
45
Posting Whiz
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.