←Older revision | Revision as of 20:36, 30 October 2009 | ||
Line 18: | Line 18: | ||
<div class='commentBlock'> | <div class='commentBlock'> | ||
Why was the event display thread used for non-painting computation in the first place? It's Swing 101 to not have long delays on the EDT...it's covered in any book on Swing as well. | Why was the event display thread used for non-painting computation in the first place? It's Swing 101 to not have long delays on the EDT...it's covered in any book on Swing as well. | ||
+ | |||
+ | --Alan Stange 21:47, 23 October 2009 (CEST) | ||
+ | |||
+ | I really like this suggestion. For a while it made me feel retarded [[Swing]] programmer. But probably I am not. The difference is that we are not using plain [[MVC]], we are using it in [[DCI#Pitfalls_of_Unknown_Model|modular way]]! | ||
+ | |||
+ | --[[User:JaroslavTulach|JaroslavTulach]] 20:36, 30 October 2009 (UTC) | ||
+ | |||
I've used something like this on many occasions to chase down blocking code on the EDT: | I've used something like this on many occasions to chase down blocking code on the EDT: | ||
http://elliotth.blogspot.com/2005/05/automatically-detecting-awt-event.html | http://elliotth.blogspot.com/2005/05/automatically-detecting-awt-event.html | ||
- | |||
Line 30: | Line 36: | ||
--[[User:JaroslavTulach|JaroslavTulach]] 21:49, 23 October 2009 (UTC) | --[[User:JaroslavTulach|JaroslavTulach]] 21:49, 23 October 2009 (UTC) | ||
+ | |||
== David Rozenberg said ... == | == David Rozenberg said ... == | ||