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

Scrolling with keyboard in JScrollPane sometimes failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 5.0
    • docs
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      java version "1.4.2_10"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
      Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)

      According to the forum thread, this behavior also occurs on 5.0u6.


      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows 2000 [Version 5.00.2195]
      (Note: Windows 2000 is NOT in the combo box list 'Operating Systems' one page before)
      Microsoft Windows XP

      A DESCRIPTION OF THE PROBLEM :
      In some cases scrolling with keyboard key does not work in JScrollPane
      and the reason is not clear.

      For further details see 'Steps to Reproduce'

      I also started a thread in the developer forum:
      'ScrollDemo vs. ScrollDemo2: scrolling using keyboard keys'gth
      http://forum.java.sun.com/thread.jspa?threadID=690432

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Start ScrollDemo and ScrollDemo2 from the Swing tutorial on Sun's Java Website:
      http://java.sun.com/docs/books/tutorial/uiswing/components/example-1dot4/index.html#ScrollDemo

      ScrollDemo: Keyboard navigation works
      ScrollDemo2: Keyboard navigation does not work

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I expect that scrolling in JScrollPanes is possible by typing (operating
      system depended) keyboard keys, e.g. LEFT key to scroll left.


      REPRODUCIBILITY :
      This bug can be reproduced often.

      ---------- BEGIN SOURCE ----------
      see 'Steps to Reproduce'
      ---------- END SOURCE ----------

            sharonz Sharon Zakhour (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: