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



Craig Laird wrote:

>Hi I have a Jframe that I can not seam to set the Minimum Size
>
>contentPane.setMinimumSize(new Dimension(615, 350));

My first guess is that your code is not setting the JFrame's minimum size,
but the min size of it's contentPane.

Or is your variable with the name contentPane actually a JFrame?


>This just will not work
>Is this a Mac thing ??

Does your code work as you expect on non-Macs, or are you asking
hypothetically?


>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.

Is the dialog modal?

  -- GG


 _______________________________________________
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



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.