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

Wrong word in API documentation at javax.swing.OverlayLayout.maximumLayoutSize()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.4.2
    • docs
    • tiger
    • x86
    • windows_xp



      Name: rmT116609 Date: 04/29/2003


      DESCRIPTION OF THE PROBLEM :

      http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/OverlayLayout.html#maximumLayoutSize(java.awt.Container)

      It says : Returns the MINIMUM dimensions ...
      Schould say: Returns the MAXIMUM dimensions ...


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Returns the maximum dimensions needed to lay out the components contained in the specified target container. Recomputes the layout if it has been invalidated, and factors in the inset setting returned by getInset().


      Returns the minimum dimensions needed to lay out the components contained in the specified target container. Recomputes the layout if it has been invalidated, and factors in the inset setting returned by getInset().

      (Review ID: 185020)
      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: