Other pieces can be tested by posting events into the event queue using EventQueue.postEvent()
:
public void postEvent(AWTEvent theEvent)
Or by dispatching straight to the component using Component.dispatchEvent()
public final void dispatchEvent(AWTEvent e)
Still can be hard to read the results