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

java.awt.Window documentation does not adequately describe recursive changes to visibility

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 17, 21
    • client-libs

      I recently discovered the interesting recursive behavior of Window.setVisible implemented using the state variable showWithParent. The current documentation hints at this behavior by saying that hiding is recursive and can be undone by showing, although it could be clearer that child windows already hidden are not shown. The recursive nature of showing is not documented directly, but can only be inferred by the description of hiding.

            honkar Harshitha Onkar
            alans Alan Snyder
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: