Recently I’ve been trying to experiment with user input in processing, but nothing seems to be working. I’ve tried multiple websites but none of them have given me and answer that works. The problem is that when I run the code Processing refuses to acknowledge the fact that I am typing on the keyboard. Like, when I start the program and type, nothing shows up in the console. It would be a huge help if somebody could tell me what’s going on. Thank you very much!
Scanner kb = new Scanner(System.in);
println(“What do you want to say?”);
String k = kb.nextLine();