• Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamically sizing JPanels to container size  RSS feed

 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to dynamically size a JPanel to fit the width of a
given container?

Thanks.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked into LayoutManagers?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!