Is there anyway of actually changing the length of a slider. I have a some sliders in a grid layout and im wondering wether the grid layout will stop the sliders from expanding.
MrScruff 0 Junior Poster in Training
Recommended Answers
Jump to Postif you are usign a JSlider you can use setPreferredSize() to change the size, but if you are usign GridLayout then it will not expand over the "cell" you are in. You will have to use multiple layout managers to accomplish this goal while still maintaining your GridLayout
All 4 Replies
jwenting 1,905 duckman Team Colleague
MrScruff 0 Junior Poster in Training
jwenting 1,905 duckman Team Colleague
paradox814 1 Posting Whiz
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.