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

Too optimistic word wrapping at periods in Label

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:

      Description

      The word-wrapping of label wraps at periods even if there is no space following the period. This means, that wrapping also occurs in the middel of e-mail addresses. We have a dialog box which shows this message:

      The e-mail address randahl@java.
      com is not known by the system.

      The same problem could rise, if we were to present an IP address to the user. We could get something like

      The IP address 212.242.123.
      100 is now blocked.

      I request that the wrapping logic is improved to check that there is a space following the period before wrapping.

        Attachments

          Activity

            People

            • Assignee:
              fheidric Felipe Heidrich (Inactive)
              Reporter:
              risaksen Randahl Isaksen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: