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

The Scrollbar of ScrollPane sometimes can not be controlled by keyboard

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_7

      Description

      In a ScrollPane, the scrollbar should be controlled by mouse or keyboard.
      (HOME/END for horizontal, PAGE UP/DOWN for vertical). But sometimes
      we can not control the scroll through those keys.

      For Solaris:
      When there is no component is "focused" (this mean no component is
      displayed using a thick border),the scrollbar can not be controlled
      by keyboard.
      For Win95/98/NT:
      The scrollbar can not be controlled at all. (Even some component is
      "focused")

      $ java -version
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-B)
      Java(TM) HotSpot Client VM (build 1.3beta-B-release, 1.3beta-B-release, interpreted mode)
      $ uname -a
      SunOS lizard 5.7 Generic sun4u sparc SUNW,Ultra-1

      To reproduce this bug:
      1. Compile and run the attatched file.
      2. For win95/98/NT, you can find you can use mouse to control the scroll bar,
      But you can not control it through keyboard.
      3. For Solaris, you can control scroll bar by HOME/END key now.
      Then enlarge the window, (be sure to keep the horizontal still can work)
      Now, you will find:
      1) No component is focused.
      2) you can drag the horizontal scroll bar through mouse.
      but the HOME/END key don't work any more.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dav Andrei Dmitriev (Inactive)
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: