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

JTable Header focus moves out with shifting of columns

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b76
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      .
      .
      JTable Header focus moves out with shifting of columns
      1)Open SwingSet2, tab to the Tabledemo, select any table data aand then press F8 to get focus on to the JTable header of the first column.
      2)Shift the 1st column using the mouse, and then again, using the keyboard shortcut (Alt+right arrow key).
      Actual behavior:-
      When I use the keyboard:
      1st Column(with Header text as "First Name") shifts to 2nd column, focus is now on the second column(with Header text as "First Name").
      when I use the mouse:
      1st Column(with Header text as "First Name") shifts to 2nd column, but focus remains on the now new first column(with Header text as "Last Name").

      Expected behavior
      1)Behavior should be same and consistent while using either the keyboard shortcut or mouse.
      2)The correct behavior can be interpreted to be what is seen when using the mouse or when usting the keyboard. That is of course debatable. To my knowledge, focus of the colunn header should move along with the column which is shifted as is the case when we use the mouse.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: