src/macosx/classes/sun/lwawt/PlatformWindow.java

Print this page

        

@@ -129,11 +129,16 @@
      */
     public boolean isActive();
 
     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
      * implementation traits (insets, etc.).
      */