This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Gap between JSeparators Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Gap between JSeparators" Watch "Gap between JSeparators" New topic

Gap between JSeparators

miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281
in this example using separators i set the layout manager's vgap to zero
yet, there are gaps between the top and the bottom of the panel and the vertical separators
how can i fix it?
also, i dont know how to set the height of horizontal separator

thanks in advance

java amateur
It is sorta covered in the JavaRanch Style Guide.
subject: Gap between JSeparators
Similar Threads
JFrame's icon
Click On Image.
java swing repaint
Component Banners
Dispatching MouseEvents