Do I also need to use the above code (explicitly put the Swing code on the EDT) if my entire program runs in one threat, i.e. my program never explicitly creates any threats?
Type: Posts; User: evert67
Do I also need to use the above code (explicitly put the Swing code on the EDT) if my entire program runs in one threat, i.e. my program never explicitly creates any threats?
As I wrote in the other topic: are these forums somehow connected and, if so, is there a preferred place?
According to what I read, “when programming in Swing, your GUI creation code should be placed on the Event Dispatch Thread (EDT). This will prevent potential race conditions that could lead to...