On Wed, 2 Jun 2021 01:14:39 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

> Some useful documentation was added to the JPasswordField.

> _Mailing list message from [Alan Snyder](mailto:javali...@cbfiddle.com) on 
> [swing-dev](mailto:swing-...@mail.openjdk.java.net):_
> 
> I think this statement is over-constraining the UI behavior.
> 
> What the password field displays does not have to be text in the ordinary 
> sense of the word. It could be a series of large dots. It is really up to the 
> UI.
> 

It is a text field. It displays unicode text. Nothing else. It can't display a 
graphic such as a dot unless it is a unicode
assigned code point. So if we want to re-define text across the platform to 
exclude some subset of unicode it will be
a questionable and difficult job and this informational comment isn't the place 
to start.

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

PR: https://git.openjdk.java.net/jdk/pull/4296

Reply via email to