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

NativeInLightFixer adds asynchronousity

XMLWordPrintable

    • b25
    • generic
    • generic
    • Not verified

      Name: dmR10075 Date: 02/12/2004


      The code in NativeInLightFixer (Component.java) corrects the visibility
      of the heavyweight children based on the state of the lightweight
      container. However, it does that based on events which are asynchronous.
      Therfore, when one makes lightweight container visible, his heavyweights
      don't immediately become visible as it happens with heavyweight
      containers and simple heavyweight components. This difference is
      affecting native code - you can't request focus on an invisible
      component, but at that time all Java properties show that such component
      is eligible to receive focus. Therefore, after we have requested focus
      on such component, the focus is actually nowhere.

      This asynchronousity should be removed, probably by adding the children
      traversal code to lightweight containers.
      ======================================================================

            anthony Anthony Petrov (Inactive)
            domsunw Dom Dom (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: