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

JScrollbar (Horizontal) Scrolls in oppossite direction using arrow keys

XMLWordPrintable

    • beta2
    • x86, sparc
    • solaris_2.5, windows_nt
    • Verified

      JScrollbar (Horizontal) when scrolled using Arrow Keys scrolls in oppossite direction.

      When its scrolled with Left Arrow key, the bubble moves towards Right direction
      When its scrolled with Right Arrow key, the bubble moves towards Left direction

      Compile and run ScrollbarDirection.java
      A frame with Scrollbar and JScrollBar will be shown
      Press Tab keys so that each scroll bar receives Focus
      When Focus is on the scrollbar press arrow keys and observe the direction in which the bubble moves.

      For JScrollBar which is added to the South (Horizontal), when we press the Arrow Keys, the bubble moves in the oppossite direction. For AWT Scrollbar its working fine.

            svioletsunw Scott Violet (Inactive)
            rpullanisunw Rakesh Pullanikkad (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: