Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Observer and Observable

 
Jacky Luk
Ranch Hand
Posts: 634
  • 0
  • 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
Pie
Posts: 2878
59
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic