This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes Save information in SQL database using timer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Save information in SQL database using timer" Watch "Save information in SQL database using timer" New topic
Author

Save information in SQL database using timer

ahmed kara
Greenhorn

Joined: Nov 26, 2008
Posts: 1
Hi everyone,

I need help about using a timer in my application. I want a timer that starts when I push button1 (knop1) and saves information each 60 seconds in sql database. My idea is to insert this timer to my Knop1Handler. I tried this but its not working. I never worked with timers. And ideas how to insert this timer in my application?

Timer:





My application:



 
Don't get me started about those stupid light bulbs.
 
subject: Save information in SQL database using timer
 
It's not a secret anymore!