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

Frame not getting maximized using new Zoom Frame API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 1.4.0
    • client-libs
    • sparc
    • solaris

      In Solaris
      ==========

      When we use the following

      frame.setExtendedState(Frame.MAXIMIZED_BOTH)
      frame.setExtendedState(Frame.MAXIMIZED_HORIZ)
      frame.setExtendedState(Frame.MAXIMIZED_VERT)

      Its not maximizing at all for all of these methods.

      In Win32
      ========
      When we use frame.setExtendedState(Frame.MAXIMIZED_BOTH) its getting maximized.

      But when frame.setExtendedState(Frame.MAXIMIZED_HORIZ) or frame.setExtendedState(Frame.MAXIMIZED_VERT) is used its coming back to the normal state.

      Since the method isExtendedStateSupported(int state) is not implemented, there is no way to find out whether these methods are supported in these platforms.

      Also setExtendedStateBounds(int state, Rectangle bounds) and getExtendedStateBounds(int state) is not integrated yet.

      Compile and run ChangeStateTestSample.java
      Click on the corresponding buttons to change the state of the frame


      The RFEs related to these

      4071554 : Ability to programmatically maximize a window
      4388214 : Zooming support incomplete

      is put to integrated state but still the maximize feature is not supported and some of the methods are not integrated

      Note : I have given the hardware version as UltraSPARC and OS Version as Solaris, since I'm not sure of the behaviour in Win32 (since isExtendedStateSupported(int state) is not implemented

            rraysunw Richard Ray (Inactive)
            rpullanisunw Rakesh Pullanikkad (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: