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

setXXXTextPosition() should lead to revalidation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 5.0
    • client-libs
    • None
    • beta
    • generic
    • generic

      Name: omR10226 Date: 11/04/2003

      From spec of the method JComponent.revalidate:
      "This method will automatically be called on this component when
      a property value changes such that size, location, or internal layout
      of this component has been affected."
      So the following methods:
      AbstractButton.setVerticalTextPosition(),
      AbstractButton.setHorizontalTextPosition(),
      JLabel.setVerticalTextPosition(),
      JLabel.setHorizontalTextPosition()
      should lead to revalidate.
      ======================================================================
      ###@###.### 10/13/04 18:01 GMT

            shickeysunw Shannon Hickey (Inactive)
            moasunw Moa Moa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: