• Post Reply Bookmark Topic Watch Topic
  • New Topic

confuse on GridBagConstraints  RSS feed

 
Daniel Washington
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GridBagConstraints.gridx(gridy) mean "grid cell location" for the Component,
but i don't know how many grid cell totally in the panel??
it seems you can set anyvalue you want to gridx,gridx=500?gridx=5000?
can anybody help me?
thx a lot
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Swing / JFC / AWT forum...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!