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

Scrollbar Focus behaviour is inconsistent across Platforms.

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_8

      Description

      Focus with respect to Scrollbar is not behaving consistently across platforms.In windows it does not generate any Focus Events if it clicked whereas in Solaris ,it does generate Focus Events and getting a Permanent Focus for itself.

      java version "1.4.0-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b89)
      Java HotSpot(TM) Client VM (build 1.4.0-rc-b89, mixed mode)

      Please run the attached Program in both Windows and Solaris platforms.

      SOLARIS
      =======

      1.Compile and run the program TemporaryFocusTest.java
      2.Focus will be with the button,Now click the Scrollbar.
      3.You could see following output

      Focus lost by:class java.awt.Button
      BUTTON IS LOSING FOCUS PERMANENTLY

      Focus gained by:class java.awt.Scrollbar
      SCROLLBAR IS GETTING PERMANENT FOCUS
      scrollbar.hasFocus() :true


      whereas in windows no focus evenst will be generated.
      ================================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dmikhalksunw Denis Mikhalkin (Inactive)
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: