DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
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.

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links