Applet: Digital Clock - Online Code

Description

This is a Code which is used to display a Digital Clock which displays time as according to your system.

Source Code

import java.applet.*;
import java.awt.Graphics;
import java.util.*;

public class DigitalClock extends Applet implements Runnable {

    int hour, minute, seconds;
    Thread thread;

    @Override
    public void init() {
   
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.




Comments

Tshering Wangchuk on 2011-03-24 06:35:54 wrote,

i tried your codes directly and when the applet viewer opens its blinking... is there any problem....help...