Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Please help i want gaps between buttons and checkboxes

 
mitchell cooper
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would i go about getting gaps between my buttons and checkboxes?

 
Rob Camick
Ranch Hand
Posts: 2703
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read the section from the Swing tutorial on Using Invisible Components as Filler.

Basically you need to add Box.createVerticalStrut(...) whenever you want a vertical gap.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!