May want to throw this method on KeyListener too.