阅读背景:

如何在JTextField中显示微弱的灰色“鬼文本”?

来源:互联网 

I don't know if I got the right name for it, but I'm looking to see if there is a specific way to implement a text field so that while it doesn't have focus and is empty, a faint gray string of text is displayed in the field. When the field is clicked, the text should go away, exactly like how the Search bar like that of StackOverflow works. I know that I can change use I don't know if I got the right name for it, bu




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: