I just know that virtual keyboard concept can be developed in matlab , because it has inbuilt functions , but i don't know it will be developed in java or not, please tell me about this concept
yes it is possible one ,u just use applet with ASCII key values to represent key-board keys and use Action listener event handler for output on your console (display unit)