Sorry, it seems to work for me.
Type: Posts; User: Norm
Sorry, it seems to work for me.
Here's what I get when I execute it:
Running: D:\Java\jdk1.6.0_25\jre\bin\java.exe -Xmx512M -classpath D:\JavaDevelopment;. a
flag being set
timer was set
this should be truetrue
this...
What is the value of b.flag that is printed out when the println is uncommented?
What was printed out when you ran it?
Have you looked at using the Swing Timer class. It could be easier.
Can you explain what happens or doesn't happen?