Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
Buttons and Event Handlers
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="markspace" data-source="post: 4031513"><p>Thanks, I'd missed that. I think I might recommend calling pack() after </p><p>adding all components, then calling setMinimumSize() instead of </p><p>setSize(). That'll prevent the components from clipping if they take </p><p>more space, but will enlarge the window if it happens to be smaller.</p></blockquote><p></p>
[QUOTE="markspace, post: 4031513"] Thanks, I'd missed that. I think I might recommend calling pack() after adding all components, then calling setMinimumSize() instead of setSize(). That'll prevent the components from clipping if they take more space, but will enlarge the window if it happens to be smaller. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
Buttons and Event Handlers
Top