title: Caps Lock Detection not working
body: <p>When detecting a CAPS LOCK in <code>Processing Java</code>, I encountered this error:</p>
  
  <pre><code>Cannot find anything named "KeyEvent.VK_CAPS_LOCK"
  </code></pre>
  
  <p>I'm pretty sure I can run <code>Java</code> methods in <code>Processing</code>. The following code below is my import and the variableI set. I think I have everything I need in the import because I imported everything from <code>Java's AWT</code>.</p>
  
  <pre><code>import java.awt.*;
  boolean capsLocked = Toolkit.getDefaultToolkit().getLockingKeyState(KeyEvent.VK_CAPS_LOCK); 
  </code></pre>