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

setEnabled does not work for components in disabled containers.

XMLWordPrintable

    • b36
    • generic
    • linux

      Tested on jdk 8 ubuntu 11.04
      Testcase attached.

      How to reproduce:
      1 javac DisabledComponent.java
      2 java DisabledComponent
      Expected behavior:
      List should be disabled(it works on windows)
      Actual behavior:
      List is enabled and is receiving events.

      The problem exists in XComponentPeer.setEnable() it does not check container status.

            serb Sergey Bylokhov
            serb Sergey Bylokhov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: