Frame.setResizable( false) .

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 1.1
    • Component/s: 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();
           }
      }

            Assignee:
            Georges Saab
            Reporter:
            Marc Owerfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: