Withdrawn: 5032471: JFormattedTextField does not use editformatter on initial focus with setText()

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Aug 30 05:33:20 UTC 2023


On Mon, 24 Jul 2023 09:20:44 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> 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.

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.org/jdk/pull/14993


More information about the client-libs-dev mailing list