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

Problem with cursor and focus in table editors based on JTextField

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs


      Comments from a CAP member regarding the fix for bug#4274963/4256006:
      ---------------------------------------------------------------------

      We can divide usage of tables into 2 categories:
      - row oriented, where users navigate more frequently horizontally
      - column oriented, where users navigate rather vertically

      Unlike Excel, java applications are in most situations
      database oriented which implies row oriented style and need for
      horizontal navigation. That is why I understand You want to preserve
      horizontal arrow keys. But why not use Enter? In JDK 1.3.x Enter moves
      cell selecttion into the next row, wchich does not corespond with row
      oriented style. More logically would be next (right) cell. If user
      wants move down, he can safely use vertical arrow key.

      I propose following:
      - set default surrendersFocusOnKeystroke to TRUE
      - add method "setShouldEnterMoveRight" with default value to TRUE

      Editing of existing data is very frequently operation. Current
      situation absolutely does not help users - thay have to double click
      too frequently. By Java comunity it is perceived as bug, so I would
      urge to reconsider backward compatibility. Everybody will be happy -
      You even don't need to make survey - see comments on Bug Parade
      and Java Lobby.


      ###@###.### 2001-10-10
      ===============================

            alexsch Alexandr Scherbatiy
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: