JLabel spec is inconsistent regarding hor. alignment and text position

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P3
    • None
    • Affects Version/s: 1.2.2
    • Component/s: docs
    • generic
    • generic

      The JLabel spec says that setHorizontalAlignment() can accept
      LEFT, CENTER, RIGHT, LEADING or TRAILING.
      However, the spec says that getHorizontalAlignment() returns
      LEFT, CENTER, or RIGHT.

      The same issue applies to setHorizontalTextPosition() and
      getHorizontalTextPosition().


      The information for these methods should be consistent, and
      the default values returned by getHorizontalAlignment() and
      getHorizontalTextPosition() should be specified.


      See Comments section for history and additional info on this
      issue.

            Assignee:
            Jeff Dinkins
            Reporter:
            Gauri Sharma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: