I have a JPasswordField with a hidden Password. Now when I click the Knob of the JSlider and/or hold it - I want to unhide the content of the JPasswordField. The mechanism to unhide and hide it again is already implemented but I need help or an advice how to detect a click and/or left mouse-button-hold on the JSlider-Knob. I only found an EventListener for a changing value of the slider but that's not what I am looking for.

0

There are 0 best solutions below