• Coding
  • Help: Create countdown timer with Netbeans

Hello. This isn't a homework, just something I need help figuring out. I want to create a JAVA countdown timer with Netbeans. Details in the image below:



Basically, I want to create a countdown timer, where I input how many hours, minutes, and seconds left, and what message should be displayed when over. Let's say I put 1 hour, 2 minutes, 3 seconds, and message "Time's up". I click start, and a stopwatch appears on screen and starts the countdown. When done, the message appears on screen replacing the stopwatch. Design is irrelevant. The controls on top right corner, minimize to tray, minimize to taskbar, exit. Basic structure. Please do it via Netbeans and elaborate. Thank you upfront for whoever pitches in. Appreciate it.
That's because:

1. There is a policy on the forum in which we would like to see genuine effort on your side(code written) to help you with a specific question and not make for you the whole app or write you a detailed tutorial just for that task, regardless if its simple or complex. Whether homework or not.

2. For the program you're trying to build, numerous examples are available online for a count down timer in Java. A key class that can be very useful is javax.swing.Timer

3. The IDE is not that important to be mentioned. The same program can be built with any other IDE or no IDE, while the same logic is followed in terms of code. The only benefit Netbeans for your case is the GUI editor where you don't have to write any code for your Swing based app. And using the Nebeans WYSIWYG editor is trivial(again lots of tutorials and videos out there just for that).

4. What you're trying to do is a simple program that anyone who knows how to program and knows Java can do within 30 minutes or less. Even if you don't know Java if you Google a bit and check samples you can hack something out that works. If you are not a programmer then learn how to program the right way and stay away from the IDE until you're good with the basics. If you think this is a hard task yet consider yourself a programmer, do yourself a favor and quit all this type of work (No offense intended).

That's why, no one would answer such a thread. Because no one is going to build it for you or write you a full tutorial just for that. If this same question was asked somewhere like stackoverlow it would have been down-voted and removed almost immediately.

Have a good day.
Am not sure if your a programmer or not. If your not i recommend you read some books and self tutor yourself.
If you are , i recommend you read some books on Java.

In Conclusion:
Read.
I am not a programmer. I try to learn new things when I can and this is for learning purposes. I tried to find a way this is done online, couldn't. I was asking for a push in the right direction, assistance. See, you know some technical terms, Ayman, like Swing Timer. Now I can google that, and it would push me further towards my answer :)

I don't think I've asked for anyone to do this for me, did I? I only asked it be done via Netbeans because that's what I'm dealing with right now. I was hoping for small idea pitches from different users, that could lead to forming a common sense idea for me.

No worries though. Guess I'll look for some other exercise to practice with, but thanks nonetheless.
nabs i really like your passion for doing new projects and learning new stuff but honestly some of your pojects like the one in the other thread is not feasable especially in lebanon and is very hard to do yet you always think of new hard to accomplish projects, have you ever succeded with any one of them?
Dont bother brother people here wont help sitting on their heigh horses. Ask me i tried before and i just got flamed. I would bit my tung and not ask help from any one here
Rodster wroteDont bother brother people here wont help sitting on their heigh horses. Ask me i tried before and i just got flamed. I would bit my tung and not ask help from any one here
Seriously? When did you get flamed and by who? And most importantly which topic? I have been a member here since 4 years and never got flamed for any question or flamed anyone. This is the most friendly community I have been in frankly and learned a lot from its members, but the thing is no one wants to rewrite what is already available on the web in abundance.

Everyone here is more than happy to help with specific questions and explanations, and help you solving problems that have no direct answer if you Google for. For example this topic if you Google for "create countdown timer in java" you will get so many blog posts, examples, forum question and even several duplicate stack overflow question about the very same topic. That's the point and that's why no one replied to this topic. Now if you think someone asking you to Google before posting is "flaming" its not my problem, its your perception.
"Everyone here is more than happy..."

Let's all hold hands and sing together this lovely song.

No, no flaming has ever taken place on this forum. There are no know-it-alls in here who think they are allowed to be condescending and answer others in a rude way.

There are so many things I'd like to say right now, but I have no time.

Short conclusion, try to be nicer. You received a nice reply for a caustic reply right there above, but it might not always be the case.

You might want to leave the "silly" questions for others who have more patience to deal with "us inferiors", captain, rather than reply as if you're taking personal offence.
Fellows, come on, it's not a big deal. We're all friends here. Drinks on me. Seriously, we can get along, let's do that, please?
@yasamoka In what way was I rude exactly? I don't get it. I was just explaining why Nabs didn't get any replies on this post and why it is not correct to tag members of the forum as "sitting on their high horses" I am a member here so yes I got offended because that isn't true. I didn't mock, humiliate or make fun of anyone. Mention a single sentence that I wrote in which I convey that I am arrogant, a know it all or whatever you think I am.

I never claimed to know anything nor be anything. Maybe its in the way I write, I have no idea why I am hated that much.
@Ayman
Hugs from me! I love you, in a non sexual attraction, one over the other way.

@Rodster
Just like in the real world, there are nice and not so nice people. Anybody can have a bad day etc... Stop taking things so personally.
rtp wrote@Ayman
Hugs from me! I love you, in a non sexual attraction, one over the other way.

@Rodster
Just like in the real world, there are nice and not so nice people. Anybody can have a bad day etc... Stop taking things so personally.
@ I never took it the wrong way nor am i in any way mad. Its just the way it is theirs some members who really help and dont mind giving me 5 min to explain the way ( not the actual syntax) and their is members who would write tones of paragraphs and wont explain a simple idea. What irritated me was that i too wanted to know how to do it becouse i prevously tried in c++ but it was going too fast and i didnt know how to slow the seconds down.

Ps: i didnt mean to generaliz sorry of some one got offended