Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4030112

Frame.setResizable( false) .

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.1
    • client-libs
    • None
    • sparc
    • solaris_2.5

      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();
           }
      }

            gsaab Georges Saab
            mowerfel Marc Owerfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: