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

implement synthetic focus model for MS Windows

    Details

    • Subcomponent:
    • Resolved In Build:
      b55
    • CPU:
      generic, x86
    • OS:
      windows
    • Verification:
      Verified

      Backports

        Description

        AWT has a semi-lightweight approach for *nix platforms. That concerns the focus management
        subsystem as well. A lightweight focus means that AWT establishes some restrictions on
        setting focus for the native system. Instead, AWT sets focus at certain time on the
        component that should gain focus from its perspective.

        The restrictions concern setting focus on a particular component in a toplevel window
        and in some cases activating a toplevel window.

        This approach gives us:
        - more flexibility (much less dependance on the native system)
        - less error-prone, more clear, easier to debug code (less native code)
        - unification b/w XAWT & MSW AWT focus, hence easier to support
        - ability to do further refactoring of the whole focus subsystem

        Also, implementing this focus model will allow us to resolve such tough problems
        like this: 6741987 (6638103 for jdk5). Moreover, we will get quite close to
        the "synchronous focus" (6448060).

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ant Anton Tarasov
                  Reporter:
                  ant Anton Tarasov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: