Timer


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Timer

  1. #1
    Join Date
    Aug 2002
    Posts
    3

    Timer

    Ok, I am trying to create a java timer, and I really need
    some help. I kinda need some code on how to get the
    graphics and the thread to work. I would also like to
    have it do milliseconds if anyone could help with that.
    Thanks in advance.
    Remember: A comment can be the greatest thing for a programmer to use; they help us remember that we have no clue about what we were doing.

  2. #2
    Join Date
    Aug 2002
    Posts
    94
    http://java.sun.com/applets/jdk/1.2/.../example1.html

    This is a link to a demo "clock applet" and also includes a link for the source code.

    But I would recommend that you read some of the tutorials available at http://developer.java.sun.com/developer/onlineTraining/ for a sound understanding of graphics and thread implementation.

    Alternatively you may try the tutorials at http://www.dickbaldwin.com/

    Hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center