Hey,I am trying to write a code that will pop up anotification when a the system captures time and alert the user that time is up.Please help

Recommended Answers

All 2 Replies

help with what? understanding the assignment? it looks pretty straight forward to me.

All you need is is to see how long that time is from now, then create a java.util.Timer that will call you back after that time has elapsed. In your callback you can pop up an alert or whatever else.

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.