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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.1.4, 1.1.5, 1.1.7
    • client-libs
    • generic, x86
    • generic, windows_95, windows_nt



      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 - ###@###.###)

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: