<Swing Dev> RFR: 8268087: Update documentation of the JPasswordField
Phil Race
prr at openjdk.java.net
Thu Jun 3 00:19:36 UTC 2021
On Wed, 2 Jun 2021 01:14:39 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> Some useful documentation was added to the JPasswordField.
src/java.desktop/share/classes/javax/swing/JPasswordField.java line 64:
> 62: * <p>
> 63: * <strong>Warning:</strong> The text entered in {@code JPasswordField} displays
> 64: * something that was typed and does not show the original characters. This
"something that was typed" ? That reads to me as if it displays the characters you typed which isn't what you mean
the whole sentence is weird
Let's change this to
Although the text displayed in {@code JPasswordField} does not show the actual password characters typed, this does not prevent ...
-------------
PR: https://git.openjdk.java.net/jdk/pull/4296
More information about the swing-dev
mailing list