I have a few JSpinner(s) and I'm trying to change the button sizes.
I know how to change the font of the SpinnerModel(s),
but not the button sizes.
Can someone please point me in the right direction?
TIA!
hfx642
Recommended Answers
Jump to Post@hfx642 good question +1
but SpinnerModel has nothing to do with JSpinner' View, there you have to change Font, its size ...
to the JButton size(s) that's depend of JSpinner size, or are you meaning triagle JButtons Icon ???
anyway there are two way
1/ extract …
Jump to PostFont in JTextField ???
o.k. please edit my code with your question, beacuse/maybe there is/are small mistake(s), just with intention to avoid that :-)
1/ how you are extract JTextField, because there is JFormattedTextField
2/ and override preffered size for Two JButtons (hint change Icon)
All 7 Replies
mKorbel
274
Veteran Poster
hfx642
mKorbel
274
Veteran Poster
hfx642
Selvanayagm
0
Unverified User
mKorbel
274
Veteran Poster
hfx642
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.