Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Observer and Observable

 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'd like to see the topPanel to resize once the JFrame is resized. How can I achieve this?
Why
 
Tony Docherty
Bartender
Posts: 2989
59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jacky Luk wrote:
I'd like to see the topPanel to resize once the JFrame is resized. How can I achieve this?

Use a layout manager. Layout managers can seem a little confusing at first but once you get the hang of them they make coding GUI's so much easier.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic