<Swing Dev> RFR: 8268087: Update documentation of the JPasswordField
Alan Snyder
javalists at cbfiddle.com
Thu Jun 3 13:55:47 UTC 2021
> On Jun 2, 2021, at 11:00 PM, Phil Race <prr at openjdk.java.net> wrote:
>
> 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.
Needless to say, I am not suggesting anything of the sort. You seem to be nitpicking my words rather than trying to understand my suggestion.
The component UI has complete control over painting. It can paint anything it wants, not just text. Normally, that would be a terrible idea, but in the case of a password field, the goal is to not display the entered text, but give very limited feedback when the user types a character.
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20210603/152d0f81/attachment.htm>
More information about the swing-dev
mailing list