Could someone give me a few reasons why an Application isn't terminating on close?
*THIS IS FOR A JavaFX APPLICATION*
Jump to Post
That's just a restriction on inner class binding to local variables (just ask if you want he full explanation). Simply make your timer variable an ordinary instance variable and the inner class will be abse to use it.