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

ContainerListener Documentation may be incorrect

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b103
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0_01"
      Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
      Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :

      Microsoft Windows XP [Version 5.1.2600] w/SP2

      A DESCRIPTION OF THE PROBLEM :
      The second paragraph of the description of the ContainerListener interface may have an incorrect word (Fix in parentheses ()):

      "Container events are provided for notification purposes ONLY; The AWT will automatically handle add and remove operations internally so the program works properly regardless of whether the program registers a ComponentListener (should be be ContainerListener) or not. "

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Read the documentation for version 6 at http://java.sun.com/javase/6/docs/api/java/awt/event/ContainerListener.html

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Expected to read ContainerListener
      ACTUAL -
      Read ComponentListener.


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            Assignee:
            art Artem Ananiev
            Reporter:
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: