s*******y 发帖数: 558 | 1 Is there any way to hide the cursor in JTextField and show the
cursor when I click this field? It'd be great if I click other area
or components in the panel, hide the cursor in the JTextField again.
Thanks a lot. | j***n 发帖数: 301 | 2 Do u mean caret by cursor? If so, maybe u can add some listener and use JTex
tField.getCaret().setVisible(false)
【在 s*******y 的大作中提到】 : Is there any way to hide the cursor in JTextField and show the : cursor when I click this field? It'd be great if I click other area : or components in the panel, hide the cursor in the JTextField again. : Thanks a lot.
| s*******y 发帖数: 558 | |
|