Search:

Type: Posts; User: copeg

Search: Search took 0.10 seconds.

  1. [SOLVED] Re: Nimbus PLAF: and a double call to repaint() inside a runnable interface

    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");
    ...
  2. [SOLVED] Re: Nimbus PLAF: and a double call to repaint() inside a runnable interface

    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...
Results 1 to 2 of 2