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

Frame not getting maximized using new Zoom Frame API

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: