| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
it is up to your layout manager. All layout managers resize in some sort of way. To prevent this you need to set you layout manager to null and use component.setBounds(int,int,int,int); or write your own layout manager by extending layoutmanager or layoutmanager2_______________________________________________
On Sunday, November 24, 2002, at 11:34 AM, Edward Kenworthy wrote:
I've always understood the minimum and maximums to be merely suggestions. AFAIK it's not possible and probably not advisable given the amount of variation there is in lafs and layout managers. I'm prepared to be proved wrong but I believe that's the case._______________________________________________
On Sunday, November 24, 2002, at 04:47 pm, Piotr Rychlik wrote:
Hi,_______________________________________________
Is there any method that prevents components from shrinking when the frame containing them is resized. I am using setMinimumSize method but it seems that it only works with Aqua L&F. With Aqua L&F it is impossible to make the frame smaller if one of its components already reached its minimum size. How to get the similar behavior using L&F other than Aqua?
Piotr Rychlik
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.
| References: | |
| >Re: minimum (maximum) size (From: Charles DeCroes <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.