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

RFE:Need some way to find out which column header is currently focussed.

    XMLWordPrintable

Details

    Description

      In a JTable, we need some way to find out which column header is currently focussed.

      Select a row in a JTable in SwingSet2 and then press F8, focus comes to TableHeader.
      In this state, programmatically there is no way of finding out the index of the column whose header has the focus right now.
      Due to this New featuers of keyboard access(F8,left/right arrow, and Alt+F8) to the JTableheader appear restrictive as apart from visual verification there is no other way to find out which coulmn header is selected.
      There's a private method BasictableHeaderUI.getSelectedColumnIndex to do this - if this is moved to JTable, it will be quite useful.

      Attachments

        Activity

          People

            peterz Peter Zhelezniakov
            smandalisunw Srinivas Mandalika (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: