import java.applet.*; import java.awt.*; import java.util.Date; class Coordinate{ public int x; public int y; public void set(int x,int y){ this.x=x; this.y=y; } public Coordinate(int x,int y){ set(x,y); } } public class clock extends Applet implements Runnable{ Graphics g; FontMetrics font_metrics; Thread thread; static final double pi=Math.PI; static final double _2pi=2*pi; int width; int height; Date current_time; Coordinate center; int radius=80; int inside_radius; int h_len; int m_len; int s_len; int i; public void init(){ Graphics g=getGraphics(); center=new Coordinate(100,100); current_time=new Date(); set_defaults(); } void set_defaults(){ width=size().width; height=size().height; if(width