--- old/src/macosx/classes/sun/lwawt/PlatformWindow.java 2012-08-21 18:28:45.000000000 +0400 +++ new/src/macosx/classes/sun/lwawt/PlatformWindow.java 2012-08-21 18:28:44.000000000 +0400 @@ -131,7 +131,12 @@ public void setResizable(boolean resizable); - public void setMinimumSize(int width, int height); + /** + * Applies the current minimum and maximum size from target to the platform + * window. Additionally, the target constraints are capped by the arguments + * of this method. + */ + public void setSizeConstraints(int minW, int minH, int maxW, int maxH); /** * Transforms the given Graphics object according to the native