A keylistener that I put on a jframe is delaying around 1 second, when it should be near instant. I'm fairly certain this is a linux/crouton issue, because the code works fine on a windows system.
public void initComponents(){
JFrame frame = new JFrame("test");
frame.getContentPane().addKeyListener(new KeyListener(){
public void keyPressed(KeyEvent e){
System.out.println(e.getKeyChar());
}
public void keyReleased(KeyEvent e){
}
public void keyTyped(KeyEvent e){
}
})
frame.setSize(500, 300);
frame.setVisible(true);
}