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 4 of 4

Thread: how to implement timed out event in java?!

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    6
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default how to implement timed out event in java?!

    hi, i want to write a code that uses timed out event, i want to set a time,and when this time out occurs i want some code to be executed,how can i do this?


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: how to implement timed out event in java?!

    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

  3. The Following User Says Thank You to JavaPF For This Useful Post:

    migongotar (August 9th, 2011)

  4. #3
    Junior Member
    Join Date
    Aug 2011
    Posts
    6
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: how to implement timed out event in java?!

    thanx! that helped me to find out that timers could help me! and i searched and found swing.timer, that helped me to write my code...

  5. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: how to implement timed out event in java?!

    Old thread closed.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. how to implement method to add new Student and display it
    By exose in forum What's Wrong With My Code?
    Replies: 6
    Last Post: February 10th, 2011, 11:39 AM
  2. Beginner programmer... no idea how to implement this properly
    By rkrajnov in forum Java Theory & Questions
    Replies: 1
    Last Post: January 31st, 2011, 08:02 AM
  3. want to implement security key feature in the software
    By javasabin in forum Member Introductions
    Replies: 2
    Last Post: January 8th, 2011, 01:52 AM
  4. Java onLoad event after validation is complete
    By macrat101 in forum Loops & Control Statements
    Replies: 1
    Last Post: September 4th, 2010, 03:14 PM
  5. Implement dragging a circle
    By jolly in forum AWT / Java Swing
    Replies: 0
    Last Post: August 19th, 2009, 02:48 PM

Tags for this Thread