About the event dispatching
thread you can read for example
here.
Stack overflow occurs when you go too deep in a recursion. For example when you add an action listener which modifies a parameter which causes you action listener to be called again then your listener modifies parameter again and so on...