标签: java user-interface javafx
如何在JavaFX中为TextField设置占位符?我怎么能用JavaScript做这个?
TextField
答案 0 :(得分:43)
使用promptText属性(请参阅ref)。
promptText
答案 1 :(得分:2)
在JavaFX中,您可以设置如下:
".pagerlink a[title='Go to the next page']"