I need to send some events to a component in Swing, so it is handled just like any user generated, standard Swing events.
Basically, something like a macro recorder, and then executor for JEditorPane. But I need more control over the generated events.
SO, assume I have an editor, I want to:
- capture all events sent to it, and at that point, i can store them in list, on disk, or whatver..
- Be able to later play those events
- Ideal situation, is to allow user to edit a commands which contains things like:
"type key A, select line, delete-selection, cursor-up, line-start..."