Results 1 to 6 of 6
  1. #1
    BZwap's Avatar
    BZwap is offline Member
    Join Date
    May 2011
    Location
    Lucknow
    Posts
    8
    Rep Power
    0

    Question Urgently need a countdown timer code...

    :(I need the source code of countdown timer to include in my quiz program. The player had to answer each question in not more than than 20 sec. Please help me. I am new to java and want to explore it. I am NOT writing it for a GUI interface:confused:

  2. #2
    ojn
    ojn is offline Senior Member
    Join Date
    Aug 2008
    Location
    Stockholm, Sweden
    Posts
    119
    Rep Power
    0

    Default

    1. Don't say "urgently". No one gives a sh*t how urgent it is. I guess you have an assignment due today, right?
    2. Don't write in bold, it's just annoying and hard to read.

    If you need someone to write code for you, I'd suggest you pay someone (e.g. from rentacoder.com). This forum is for learning and discussions, not cheating/plagiarism.

    Write your best attempt and ask specific questions, otherwise I promise you you'll receive all of the bashing and none of the help.

  3. #3
    BZwap's Avatar
    BZwap is offline Member
    Join Date
    May 2011
    Location
    Lucknow
    Posts
    8
    Rep Power
    0

    Smile

    Thanks 4 ur advice. I will not write in bolds again. But I don't have any assignment . I just need it for myself. Sorry for using worgs like "urgently". I don't want anyone to write whole code for me but I need someone to give me a hint for that. It was my fault that I have not mentioned it clearly. Sorry..

  4. #4
    ojn
    ojn is offline Senior Member
    Join Date
    Aug 2008
    Location
    Stockholm, Sweden
    Posts
    119
    Rep Power
    0

    Default

    Ok, fair enough. I'd start with checking out the Timer class.

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

    Default

    To be a bit more specific, check out java.util.Timer and java.util.TimerTask.

    javax.swing.Timer is for use with GUIs (and I haven't a clue what javax.management.Timer is used for).

    db

  6. #6
    BZwap's Avatar
    BZwap is offline Member
    Join Date
    May 2011
    Location
    Lucknow
    Posts
    8
    Rep Power
    0

Similar Threads

  1. Replies: 25
    Last Post: 12-17-2013, 08:12 PM
  2. Timer java code does not work
    By mariapatrawala in forum New To Java
    Replies: 10
    Last Post: 12-12-2010, 10:34 AM
  3. Quit Button, Load new Frame, Timer Code
    By IHateNetbeans in forum New To Java
    Replies: 1
    Last Post: 03-18-2009, 03:58 PM
  4. countdown timer, little help with method
    By sidy in forum New To Java
    Replies: 22
    Last Post: 07-19-2008, 12:42 PM
  5. CountDown timer
    By Seema Sharma in forum AWT / Swing
    Replies: 1
    Last Post: 03-06-2008, 04:26 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •