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

setEnabled does not work for components in disabled containers.

    XMLWordPrintable

Details

    • b36
    • generic
    • linux

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: