I\'m working on a system to type things automatically with java. This is how I write it:
public void typeMessage(String message) { for (char c : message.
Your keyboard layout should have a key for the @ symbol for this code to work. Does it?
If your keyboard is set up with an American layout you need to type shift+2 to type an @ symbol, and instead of VK_AT you have to use VK_2.