What is the java keyevent field for dot '.'?

Marco picture Marco · Dec 5, 2011 · Viewed 11.9k times · Source

I know how to call 1 using keyevent which should be like aaa.keyPress(KeyEvent.VK_1);

Now I need to type (.) dot? But I could not find (KeyEvent.VK_DOT) or some similar command. Please help

Thanks

Answer

Ernest Friedman-Hill picture Ernest Friedman-Hill · Dec 5, 2011

The "dot" is called a period; hence it's VK_PERIOD.