Hi, I am trying to write some code which uses a JSlider to specify the number of lables to be displayed on a frame. I know how to create the JSlider and display it, but I am not sure how to implement different numbers of lables. I hope someone can help.
Thank you!
jooa 0
Junior Poster in Training
Recommended Answers
Jump to PostHi, I am trying to write some code which uses a JSlider to specify the number of lables to be displayed on a frame. I know how to create the JSlider and display it, but I am not sure how to implement different numbers of lables. I hope someone can …
Jump to PostThere are two separate issues.
One, get the JSlider working, calling the stateChanged function, grabbing the value from the JSlider, then doing something with that value (in this case, I guess you are calling the createPhases function and passing it the value)?
Two, adjusting the number of JLabels …
All 7 Replies
VernonDozier 2,218
Posting Expert Featured Poster
jooa 0
Junior Poster in Training
VernonDozier 2,218
Posting Expert Featured Poster
jooa 0
Junior Poster in Training
VernonDozier 2,218
Posting Expert Featured Poster
jooa 0
Junior Poster in Training
VernonDozier 2,218
Posting Expert 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.