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

java.awt.Frame.setResizable(false) does not disable the Frame's maximize button

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.4, 1.1.5, 1.1.7
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic, x86
    • OS:
      generic, windows_95, windows_nt

      Description



      Name: diC59631 Date: 09/22/97


      Calling java.awt.Frame.setResizable(false) on a Windows Frame does not disable the Frame's maximize button. This enables users to change the size of the frame by maximizing it.
      company - Avesta Technologies, Inc. , email - ###@###.###
      =========================================================


      erik.larsen@Eng 1998-04-22 Here's another user experiencing the same problem.

      1) Create a Frame or a JFrame with setResizable(false).
      Verify that the frame doesn't resize, then click the maximise button.

      2)
      import java.awt.*;

      public class Application1 {

        public Application1() {
           Frame frame = new Frame();
           frame.setSize(new Dimension(400, 300));
           frame.setResizable (false);
           frame.validate();
           frame.setVisible(true);
          }

        static public void main(String[] args) {
          new Application1();
        }
      }

      (company - Cromwell Media , email - ###@###.###)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mlistersunw Martin Lister (Inactive)
                Reporter:
                dindrigo Daniel Indrigo (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: