How to set Text like Placeholder in JTextfield in swing
I use to override the text fields paint method, until I ended up with more custom text fields then I really wanted… Then I found this prompt API which is simple to use and doesn’t require you to extend any components. It also has a nice “buddy” API This has now been included in the … Read more