{@link JTextComponent}.
@param keyCode the code of the key to press.
@return this fixture.
@throws IllegalArgumentException if any of the given code is not a valid key code.
@throws IllegalStateException if this fixture's JTextComponent is disabled.
@throws IllegalStateException if this fixture's JTextComponent is not showing on the screen.
@see java.awt.event.KeyEvent
| |