Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setMinimumSize



I am working on the windowing system in my app today. I am setting (and getting) the size and position of my windows using the setBounds() api.

that doesn't exactly set the minimum size, though. i assume you tried setting the bounds of the content pane and the frame itself?



On Apr 2, 2005, at 7:04 PM, Craig Laird wrote:


setMinimumSize Hi I have a Jframe that I can not seam to set the Minimum Size

		contentPane.setMinimumSize(new Dimension(615, 350));

		This just will not work

		Is this a Mac thing ??

I also On a Mac can not stop the user from being able to drag the parent frame when a dialog box is shown.
The parent frame is not enabled but when you click on the title bar you ca still drag it around.
Is there any way of stopping this.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >setMinimumSize (From: Craig Laird <email@hidden>)



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.