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

JComponent doc should note that setEnabled(false) will not disable child comps

XMLWordPrintable

    • beta
    • generic
    • generic

      Many developers (understandably) assume that disabling a JComponent will also
      disable its children, since a JComponent is a Container. This is the subject
      of Swing bug # 4177727, among others.

      Since calling JComponent.setEnabled(false) does not currently ensure that its
      children's setEnabled(false) methods will also be called, we should document
      this behavior explicitly.

            sharonz Sharon Zakhour (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: