<Swing Dev> RFR: 8268087: Update documentation of the JPasswordField
Alan Snyder
javalists at cbfiddle.com
Thu Jun 3 14:06:02 UTC 2021
> On Jun 3, 2021, at 1:13 AM, Sergey Bylokhov <serb at openjdk.java.net> wrote:
>
> This is the reason why the initial text in this fix contained "The text entered in {@code JPasswordField} displays something that was typed". So yes it really may contain something that was typed, in opposite to "displays that something was typed”.
I think we are in agreement on the intent.
However, that sentence makes no sense to me.
The text does not display something. The component displays something.
The phrase “something that was typed” means nothing to me.
The similar phrase “what was typed” makes sense, but the component does not display "what was typed", that is the whole point.
The original “the view indicates something was typed” is appropriate, although it would read better as “the view indicates that something was typed”.
If you need to say more, perhaps it should be identified as an implementation note.
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20210603/fe65d91c/attachment.htm>
More information about the swing-dev
mailing list