JDK-4030112 : Frame.setResizable( false) .
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.1
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.5
  • CPU: sparc
  • Submitted: 1997-02-04
  • Updated: 1997-02-05
  • Resolved: 1997-02-05
Related Reports
Duplicate :  
Description
Unable to prevent resizing.

According to the JDK1.1beta3 documentation, the following frame should
not be able to be resized because of the setResizable method, but it is resizable.

import java.awt.Frame;

class setResizableError {
     setResizableError() {
     }
     public static void main(String args[]) {
          Frame my_Frame = new Frame();
          my_Frame.setSize(541, 758);
          boolean resize_Variable = false;
          my_Frame.setResizable(resize_Variable);
          my_Frame.pack();
          my_Frame.show();
     }
}