• Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I make a JSlider size bigger( longer)?  RSS feed

 
Hui Zhao
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All the marks are huddled together.
I am using GridBagLayout().
Thanks
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in the absence of the gridBagConstraints code, all I can suggest is to give it
a bigger preferredSize

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!