Change focus to next component in JTable using TAB

后端 未结 4 1973
一个人的身影
一个人的身影 2020-12-20 15:35

JTable\'s default behavior is changing focus to next cell and I want to force it to move focus to next component (e.g. JTextField) on TAB key pressed.
I overrided

4条回答
  •  不思量自难忘°
    2020-12-20 15:58

    • default (implemented KeyBinding for JTable) is about next cell and from last cell to first,

    • you can to remove KeyBindings by setting to the null value

提交回复
热议问题