I've got a little problem concerning my program :
I want to end a timer when a certain value reaches zero, but it keeps telling me "local variable timer1 is accessed from within inner class and needs to be declared final", but I don't want to make it final !
I tried many differnet ways, and in the end made my code exactly like this one (or so I think) : http://www.java2s.com/Code/JavaAPI/javax.swing/Timerstop.htm but it still doesn't work...
It's lines 69 and 78.
Here is my code :