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

EmptyBorder seems not working  RSS feed

 
Jack Kenshin
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to put some space between left jpanel and right jpanel using EmptyBorder. But, It seems to not work. Is there any where may be skipped?

 
Jack Kenshin
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My absent-mindedness. Because of lack of ability to edit my posts, I'm wiring the post as new answer.


The issue is here. Now, how can I use both emptyborder and titledborder together?
 
Jack Kenshin
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Solution for ones who would encounter that CompoundBorder is cut off for the intention to use two component together.
Example usage
 
Campbell Ritchie
Sheriff
Posts: 53740
127
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done posting the solution
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!