N/APosted on - 02/07/2013
Please help me who is master in Java. I need to add user login and password for the user to my new directory. On the password cage I need virtual keyboard. So please let me know java code for on screen keyboard. Appreciate your support..
What is the java code for on screen keyboard?
I understand your problem in coding. I had done one project in java, where I use virtual keyboard .
I am providing you all the java codes necessary to make virtual keyboard.
public void actionPerformed(ActionEvent e)
// get length of the text in the TextField
String text = field.getText();
// if the text length is 0 exit
if(text.length() == 0)
// reset the JTextField to its old text minus the last character
field.setText(text.subString(text.length() – 1))