• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to add Jseprator in gridbag layout

 
jaspreet manchinda
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jseprator is not displaying like i wanted its not portioning it properly
what changes should i make please help
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> Jseprator is not displaying like i wanted..

how should it appear?

if, by this, you mean across the frame
gbc.fill = GridBagConstraints.HORIZONTAL;

try, in that block
gbc.gridwidth = 4;
 
jaspreet manchinda
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Michael Dunn wrote:> Jseprator is not displaying like i wanted..

how should it appear?

if, by this, you mean across the frame
gbc.fill = GridBagConstraints.HORIZONTAL;

try, in that block
gbc.gridwidth = 4;

yeah!! that's what i meant and now its working properly :D
thank you very much
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!