You can send a Runnable to the EDT using SwingUtilties
public class Runner implements Runnable{
public void run(){
System.out.println("This is my thread");
...
Type: Posts; User: copeg
You can send a Runnable to the EDT using SwingUtilties
public class Runner implements Runnable{
public void run(){
System.out.println("This is my thread");
...
Do not call Swing methods from a thread other than the EDT, unless the method is explicitly documented as being thread safe. Your call to setEnabled is done from a different thread. Dispatch this to...