WClock


This is an example of HORB applet. WClock shows two clocks displaying remote time and local time.

WClock is an applet class. It creates two Server objects, one local and the other remote. Then it calls them to get local and remote time. Use appletviewer or Netscape 2.0 or later to see this page correctly.

If you are looking at this page from disk, run a HORB server by invoking the horb command before coming this page.



Server.java
Servers run on the local machine and the server machine.
WClock.java
Client runs in your WWW browser.