" All Swing constructors and methods should be invoked only on the EDT. ". Is this rule was included in Jdk7 or was existing in previous jdks also.?All JDKs since Swing was included (1.2 IIRC). See the tutorial chapter http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html (a must-read, must-know, and must-apply).
I am using EDT in my code.What does that mean? You previous questions suggests that you didn't know this rule.
950420 wrote:Swing was always single threaded. Some of the methods that were documented to be thread safe up to JDK 6 were in fact never thread safe, and the qualification has been removed in the JDK7 documentation.
Is this rule was included in Jdk7 or was existing in previous jdks also.?
is there any change in EDT code in jdk7 such that it will affect any change in response time .Huh?
950420 wrote:As you have been told already (twice), the meaning of this sentence is very ambiguous.
I was using EDT. May be i was not 100% sure about the usage of it.
as i posted the error place , even that wont help ?As you have been already told (twice)... no :)