Monday, 9 September 2013

jLabels will not change color

jLabels will not change color

I am developing a Sorting Algorithm Simulator in NetBeans using an applet.
I have a Timer and a TimerTask. I want to change the background color of
labels according to how they sort. The first run changes the colors but
after that the colors don't change. I ran the program in debug mode and
saw that after the first run a InterruptedException is thrown from the
TimerTask. I have no idea why this is happening.
The NetBeans project can be obtained from here
https://www.dropbox.com/s/kvdvzgxihwwfng9/Simulation.rar

No comments:

Post a Comment