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

Lack of clarity in description of the method setLineWrap(boolean wrap)

    Details

      Description

      Name: rmT116609 Date: 05/25/2004


      A DESCRIPTION OF THE PROBLEM :
      This class in general has some clarity problems, specifically:

      setLineWrap
      public void setLineWrap(boolean wrap)Sets the line-wrapping policy of the text area. If set to true the lines will be wrapped if they are too long to fit within the allocated width.

      It is unclear what the "allocated width" is.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      What exactly is meant by "allocated width."

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JTextArea.html#setLineWrap(boolean)
      (Incident Review ID: 275050)
      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              peterz Peter Zhelezniakov (Inactive)
              Reporter:
              rmandalasunw Ranjith Mandala (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: