Could someone give me a few reasons why an Application isn't terminating on close?*THIS IS FOR A JavaFX APPLICATION*
Doogledude123
45
Posting Whiz
Recommended Answers
Jump to PostThat'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.
Jump to PostOne that's declared in the class, but not inside the definition of any method or constructor, and isn't static.
All 5 Replies
Ewald Horn
26
Newbie Poster
Doogledude123
45
Posting Whiz
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Doogledude123
45
Posting Whiz
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.