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

Keyboard change of focus of a jtable header cauees the Table data view to be refreshed.

    XMLWordPrintable

Details

    Description

      Keyboard change of focus of a jtable header causes the Table data view to be refreshed.
      Tested on the mustang b59b build.
      Steps to reproduce this bugs
      ----------------------------
      1.Open SwingSet2 and tab to the TableDemo.
      2.Scroll down to the end of table and select the last row in the table.
      (With Scrollbar at the bottom, assume that the last 10 rows are now visible in the current view.)
      3.Tab the focus into the header of the first column in the table.
      (Click on the Print Width checkbox and then click on tab twice.)
      4.Now press the right arrow key- -As expected, the focus moves from the header of the first column to the second column.
      5.Now Observe the table view.
      Observed:
      The table view has scrolled back up to the top of the table and now the first 10 rows are visible. Scroll down to the bottom and the last row is still selected.
      Expected:
      Changing the header focus has nothing to do with the currently-being-viewed table data; It should not cause any scrolling. It can be quite confusing for the end user.
      This issue is seen on all L&F on all platforms.

      Attachments

        Issue Links

          Activity

            People

              kwalrathsunw Kathy Walrath (Inactive)
              smandalisunw Srinivas Mandalika (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: