How can I make a JLabel translucent? I want to display a translucent label/text-field containing some text over a JTextfield so as to suggest the words to be typed by the user.
Asked
Active
Viewed 26 times
0
-
For [example](https://stackoverflow.com/questions/22396282/how-to-set-text-like-placeholder-in-jtextfield-in-swing/22396303#22396303) (and [SwingX](https://github.com/arotenberg/swingx)) – MadProgrammer Feb 12 '22 at 06:27
-
Do you mean you want to something like "auto complete"? – MadProgrammer Feb 12 '22 at 06:35
-
1Maybe [Text Prompt](https://tips4java.wordpress.com/2009/11/29/text-prompt/) will help. – camickr Feb 12 '22 at 15:49