question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reveal icon is clickable even if JPasswordField is disabled

See original GitHub issue

Even if JPasswordField is disabled, it’s possible to click on reveal icon and show/hide typed password.

FlatLaF v2.0.2

Peek 2022-03-15 13-12

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
medmedin2014commented, Mar 15, 2022

Even if the content cannot be modified but if a component is disabled then all what is inside it should be disabled. If I show both clear and reveal icons on a password field then disable it, the clear icon disappears while reveal icon remains working. I don’t know if my point is valid 😉

0reactions
Plyhacommented, Sep 11, 2022

Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Password Reveal Button Not Disabled with Password Field
But, it visually looks a bit weird when the field is disabled and it may not be desirable behavior in all cases for...
Read more >
Is there a way to make a JButton disabled until the user puts in ...
Yes of course you can disable or enable JButtons via their setEnabled(enabled) method. The logic of when or how this gets called will...
Read more >
How To Enable Or Disable Reveal Password Button In ...
On the Settings page, click Passwords. There, you will see a slider in front of “Show the “Reveal Password” button in the password...
Read more >
Enable or Disable Password Reveal Button in Windows, IE
The show password button replaces the asterisks in password field with actual characters. Looking for methods to disable the ' Show Password' ...
Read more >
How can we show/hide the echo character of a ...
By default, JPasswordField can show the echo characters. We can hide the echo characters and show the original text to the use by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found