如何制作一个简单的计时器? [英] How to make a simple timer?

查看:128
本文介绍了如何制作一个简单的计时器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是编程的初学者(学生),我被分配来制作计时器。我搜索了许多教程,帖子等,但没有一个解释他们使用的代码。所以我不能使用这些代码,因为我不理解它们。我只需要做一个计时器,用户将输入分钟和秒钟(例如:01:30)(分:秒),当它达到00:00时将停止。有人可以帮帮我吗?

I'm a beginner(student) in programming and i was assigned to make a timer. I've searched many tutorials, posts, etc. but none of them explained the codes they used. So i cant use those codes because i dont understand them. I just need to do a timer, which the user will input minutes and seconds.(ex.01:30)(min:sec) and will stop when it reached 00:00. Can somebody help me please??

推荐答案

Google [ ^ ]吧!



第一个结果:如何在java中关闭倒数计时器[关闭] [ ^ ]



下次,请在发布问题前尝试做点什么。遇到困难时,请回到此处并发布详细问题。
Google[^] for it!

First result: how to make a countdown timer in java [closed][^]

Next time, please try to do something before you post a question. When you get stuck, come back here and post detailed question.


http://stackoverflow.com/questions/14393423/how-to-make-a-countdown-timer-in-java [ ^ ]

< a href =http://www.daniweb.com/software-development/java/threads/250828/countdown-timer-in-java> http://www.daniweb.com/software-development/java/threads / 250828 / countdown-timer-in-java [ ^ ]

http://smallbusiness.chron.com/create-timer-java-29850.html [ ^ ]



至少试着想一想你的问题。 :)



-KR
http://stackoverflow.com/questions/14393423/how-to-make-a-countdown-timer-in-java[^]
http://www.daniweb.com/software-development/java/threads/250828/countdown-timer-in-java[^]
http://smallbusiness.chron.com/create-timer-java-29850.html[^]

And at least try to think about your problem. :)

-KR


这篇关于如何制作一个简单的计时器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆