Selecting Password row and Pasting in notepad reveals the password

后端 未结 4 2048
暗喜
暗喜 2020-12-20 09:05

I have been facing the above mentioned problem in my java application that I recently created. Even though I clearly set the field as JPasswordField and have tried to mask t

4条回答
  •  借酒劲吻你
    2020-12-20 09:35

    Have you tried to disable cell editing on the password column?

    You can do this by extending the JTable class and replacing the isCellEditable function with your own implementation.

提交回复
热议问题