Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Slight Swing Layout issue  RSS feed

 
igwe kalu kalu ogba
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I've written a small swing application which displays a html pane, on top of this pane is a jtoolbar. The problem i'm having with this is that, there is some empty space below the toolbar, before you then see the html pane. I know this seems minor but it bothers me. is there a way to get rid of this space as it contains no components? thanks.
 
Ben Wood
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
igwe,

Which layout manager are you using? Have you tried a BorderLayout?



hope this helps!
 
igwe kalu kalu ogba
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks ben, works now
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!