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

setExtendedState(MAXIMIZED_BOTH) doesn't work

XMLWordPrintable

    • x86
    • windows_2000



      Name: pzR10082 Date: 11/15/2001


      This code snippet should show a maximized frame, but it shows a
      minimally sized one instead.


      import java.awt.*;

      public class T {
         public static void main(String[] argv) {
            Frame f = new Frame("The T application");
            f.setExtendedState(Frame.MAXIMIZED_BOTH);
            f.setVisible(true);
         }
      }


      OS version: Windows 2000 SP1

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

      ======================================================================

            uwesunw Uwe Uwe (Inactive)
            peterz Peter Zhelezniakov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: