Table: do not select text in cell editor when it gets focus (when JTable.surrendersFocusOnKeystroke is true) and TextComponent.selectAllOnFocusPolicy is once (the default) or always (issue #395)

This commit is contained in:
Karl Tauber
2021-10-16 23:32:08 +02:00
parent 65a4f66d2c
commit f8b9f4c1fa
4 changed files with 43 additions and 16 deletions

View File

@@ -42,6 +42,10 @@ FlatLaf Change Log
to issue #382; regression since fixing #330 in FlatLaf 1.4)
- Tree: Fixed editing cell issue with custom cell renderer and cell editor that
use same component for rendering and editing. (issue #385)
- Table: Do not select text in cell editor when it gets focus (when
`JTable.surrendersFocusOnKeystroke` is `true`) and
`TextComponent.selectAllOnFocusPolicy` is `once` (the default) or `always`.
(issue #395)
## 1.6.1