Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: Revers Timer for a JFrame

  1. #1
    Junior Member
    Join Date
    Dec 2017
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Revers Timer for a JFrame

    Anyone plz share the coding for reverse timer for jframe, actully i need it for academic small project, so if anyone can help me...
    thanks in advnace.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    21,387
    Thanks
    52
    Thanked 2,304 Times in 2,262 Posts

    Default Re: Revers Timer for a JFrame

    reverse timer
    Can you explain what that is? How does a reverse timer differ from a normal timer?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Dec 2017
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Revers Timer for a JFrame

    Actully a 10 min clock, which will close the frame automatically after 10 min

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    21,387
    Thanks
    52
    Thanked 2,304 Times in 2,262 Posts

    Default Re: Revers Timer for a JFrame

    What Timer class have you tried?
    Basically define a Timer that calls its method after the desired time. Add code to the called method to close the frame.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Member
    Join Date
    Dec 2013
    Location
    Honolulu
    Posts
    73
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Revers Timer for a JFrame

    Do you mean like in a race? And why there may be a 30 seconds or 1 minute time delay before seeing it. Or is this hardware symptoms?

Similar Threads

  1. TIMER HELP PLEASE
    By javados in forum AWT / Java Swing
    Replies: 21
    Last Post: October 8th, 2014, 08:56 AM
  2. How to use a component in a JFrame inside another JFrame?
    By shirin in forum AWT / Java Swing
    Replies: 1
    Last Post: April 1st, 2014, 11:48 AM
  3. problem with my JFrame; JFrame not closing and stay in background
    By golominator in forum What's Wrong With My Code?
    Replies: 1
    Last Post: November 6th, 2012, 07:20 AM
  4. using objects from one jFrame on a different jFrame
    By Taskeen in forum AWT / Java Swing
    Replies: 3
    Last Post: September 14th, 2011, 08:51 AM
  5. connecting jframe to another jframe
    By ajtambalo in forum Member Introductions
    Replies: 2
    Last Post: May 11th, 2011, 11:24 AM