-
-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an eye to the JPasswordField in order to toggle masking character #173
Comments
Nice idea 👍 I'll add this later. |
Hey, do you already have some kind of API in mind and is it supposed to be something internal or something external? I'd like to try working on this and fix #172 as well. |
finally implemented in PR #442 😄 |
PasswordField: reveals button has now component name `PasswordField.revealButton` and additional style class `revealButton` (issue #173) SwingUtils: added `getComponentByName()` for easy getting clear or reveal buttons
I assume this would be a nice addition to the GUI, as many inexperienced users would appreciate this feature. Especially people that rarely ever use a keyboard. The same problematics described in #172 should probably be taken into consideration here as well.
I assume that if this added, it should be toggleable via the UIManager and disabled by default.
Here's what it could look like (This is our messy and hacky non-look-and-feel way of doing it):
The text was updated successfully, but these errors were encountered: