My quest to understand swing and EDT continues once again...
Since EDT is EDT, the one and only, I would now like to know which methods, constructors and any other stuff is something that should be done in EDT. I know the general rule, almost all code that creates or interacts with Swing components must run on the event dispatch thread, but that is very general. It is also said that any non thread-safe swing code should be executed on EDT. But I still can't tell which methods are thread-safe, and which aren't.
My question is, is there a list of commands that will eventually be queued on the EDT? (I say that because you don't have to call repaint() from the EDT, but it will execute on it never the less).
If I knew where (and with that I can estimate when relative to the rest of the code) my methods will execute, I could make much more efficient and understandable code.
Most of my EDT work so far has been stabbing in the dark, thus making faulty code and then, when I couldn't figure it out, usually annoy the hell out of people here.
So is there a list, maybe something in Javadocs that I missed? Maybe some more specific rule (e.g., if methods has an "e" in it's name, it has to be executed on the EDT type of specific)?