> When a JFormattedTextField field value is set by setText, then when the field > initially gains focus it seems to not use the edit formatter, but rather use > display formatter, which is wrong. > Native "Date and Time setting" in windows changes the date field to edit mode > in initial focus itself. > Fix is made to treat setText as in edit mode and commit the changes made to > it.
Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision: setDocument and test fix ------------- Changes: - all: https://git.openjdk.org/jdk/pull/14993/files - new: https://git.openjdk.org/jdk/pull/14993/files/6fd3a18e..79231c5c Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=14993&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14993&range=00-01 Stats: 19 lines in 2 files changed: 14 ins; 1 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/14993.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/14993/head:pull/14993 PR: https://git.openjdk.org/jdk/pull/14993
