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

Maximized, non-resizable Frames can be resized

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_nt

      Description

      Name: bsC130419 Date: 06/01/2001


      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)

      A Frame that is programmatically maximized and set to unresizable, can be
      resized by double-clicking on the title bar, also if the "de-maximize" widget
      and the item "Restore" in the window menu are correctly ghosted.

      //----------------------------------
      import javax.swing.*;

      public class Unresizable extends JFrame
      {
       public static void main(String args[])
       {
        new Unresizable();
       }

       public Unresizable()
       {
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setResizable(false);
        show();
        setExtendedState(MAXIMIZED_BOTH);
       }
      }
      //------------------------------
      (Review ID: 125612)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dcherepanov Dmitry Cherepanov
                Reporter:
                bstrathesunw Bill Strathearn (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: