Page 2 of 2 FirstFirst 12
Results 21 to 24 of 24
  1. #21
    Hollowsoul is offline Member
    Join Date
    Jul 2011
    Posts
    30
    Rep Power
    0

    Default

    I think i have it so that wont be necessary. Thanks again for your help :) im sure i will need it again!

  2. #22
    Hollowsoul is offline Member
    Join Date
    Jul 2011
    Posts
    30
    Rep Power
    0

    Default

    Ok i have a question now not necessarily a problem. Im trying to make a timer that gets the current time and then when the program exits, record that time so that when the program restarts, it can keep track of how long it has been since the last recorded time. How would i go about doing that?

  3. #23
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,899
    Rep Power
    25

    Default

    The System class has a method that returns the current time. Something like currentTimeMillisecs.

  4. #24
    Hollowsoul is offline Member
    Join Date
    Jul 2011
    Posts
    30
    Rep Power
    0

    Default

    Oh really? Thanks Norm always helpful! :) Ill be back im sure haha.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 1
    Last Post: 06-29-2011, 06:46 PM
  2. Replies: 7
    Last Post: 03-05-2011, 10:25 AM
  3. Setting text width and height in PDFBox
    By svenskmand in forum Advanced Java
    Replies: 0
    Last Post: 12-21-2010, 01:23 AM
  4. Replies: 0
    Last Post: 12-09-2010, 06:56 PM
  5. Replies: 3
    Last Post: 05-25-2009, 04:33 AM

Posting Permissions

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