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

Correct a wording in javadoc of java.awt.ContainerOrderFocusTraversalPolicy

    XMLWordPrintable

Details

    • b94

    Description

      A DESCRIPTION OF THE REQUEST :
      The header part of ContainerOrderFocusTraversalPolicy has a sentence that
       " By default, methods of this class with return a Component only if it is visible, displayable, enabled, and focusable. " . The obvious wording mistake is that " with " should be " will " .

      JUSTIFICATION :
      It's not a bug but confuses customer.
      See openjdk discussion http://mail.openjdk.java.net/pipermail/swing-dev/2012-December/002446.html.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Change wording from " with " to " will "

      Attachments

        Activity

          People

            ant Anton Tarasov (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: