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

java.awt.Dialog.setResizable(boolean) doesn't prevent resizing on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6
    • client-libs
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      java version "1.6.0_06"
      Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
      Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      It is possible to resize dialog on which setResizable(false) has been called, using window title menu. Behaves correctly with java 1.5.0_15.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run JFC SwingSet2 demo bundled with JDK and pop up About box. Right click on title bar of the About box, menu item "Size" is enabled that allows to resize window with keyboard. After first resizing, even Maximize and Minimize actions are allowed. About box has been created non-resizable, see src/SwingSet2.java, class AboutAction.

      In the same demo bundled with JDK 1.5.0_15, only Close and Move actions are enabled on window title menu.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Only Close and Move actions should be enabled on window title menu.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      Release Regression From : 5.0u15
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: