|
|
|
| Of late, it has become much more important to require programmers to write their main entry points for a Swing GUI application in the following way:
One reason for this is the rapid increase in the number of truly multiprocessor machines, even at the low end of the PC market (Core Duo, etc.). These multiple processors turn multi-threading into true multi-processing, and enormously increase the possibility of race conditions. By writing the main entry point in this way, we can ensure that the changes to the relevant GUI objects are made exclusively in the Event Dispatch Thread, and so are appropriately serialized.
|
| The page was last updated February 19, 2008 |