<HTML
><HEAD
><TITLE
>Jon's Binary Clock Applet</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.54"></HEAD
><BODY
CLASS="ARTICLE"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="ARTICLE"
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="TITLE"
><A
NAME="AEN2"
>Jon's Binary Clock Applet</A
></H1
><P
CLASS="COPYRIGHT"
><A
HREF="ln7.html"
>Copyright</A
> &copy; 2000 by <SPAN
CLASS="HOLDER"
>Telsa Gwynne</SPAN
></P
><HR
WIDTH="75%"
ALIGN="CENTER"
COLOR="#000000"
SIZE="1"></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
><A
HREF="index.html#JBC"
>Jon's Binary Clock Applet</A
></DT
></DL
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="JBC"
>Jon's Binary Clock Applet</A
></H1
><P
>   <TT
CLASS="APPLICATION"
>Jon's Binary Clock</TT
> applet, shown in <A
HREF="index.html#JBCAPPLET-FIG"
>Figure 1</A
>, shows the time in an unusual form: binary
   coded decimal. It has twenty-four LEDs which represent the hours,
   minutes and seconds by illuminating the appropriate LED.  To add this
   applet to a <SPAN
CLASS="INTERFACE"
>Panel</SPAN
>, 
   right-click on the <SPAN
CLASS="INTERFACE"
>Panel</SPAN
> and choose
   <B
CLASS="GUIMENU"
>Panel</B
>-&gt;<B
CLASS="GUISUBMENU"
>Add to panel</B
>-&gt;<B
CLASS="GUISUBMENU"
>Applet</B
>-&gt;<B
CLASS="GUISUBMENU"
>Clocks</B
>-&gt;<B
CLASS="GUIMENUITEM"
>JBC Binary Clock</B
>.
  </P
><DIV
CLASS="FIGURE"
><A
NAME="JBCAPPLET-FIG"
></A
><P
><IMG
SRC="jbc_applet.png"></P
><P
><B
>Figure 1. Jon's Binary Clock Applet</B
></P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="APPLET-USAGE"
>Usage</A
></H2
><P
>    You don't need to do anything special to this clock. It just
    sits there and flashes lights at you.
   </P
><P
>    Right-clicking on the applet brings up a menu containing the
    following items:
    <P
></P
><UL
><LI
><P
>       <B
CLASS="GUIMENUITEM"
>Help</B
> &#8212;
       displays this document.
      </P
></LI
><LI
><P
>       <B
CLASS="GUIMENUITEM"
>About&#8230;</B
> &#8212;
       shows basic information about <TT
CLASS="APPLICATION"
>Jon's Binary Clock
       Applet</TT
>, inluding the applet's version and the
       author's name.
      </P
></LI
></UL
>
   </P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="JBC-DECIPHERING"
>Deciphering the Lights</A
></H2
><P
>      BCD stands for binary-coded decimal, a way of representing 
      normal denary (0,1,2,3,4,5,6,7,8,9) numbers as what programmers
      call "a set of binary numbers in four bits, thus removing the
      numbers A to F". If this doesn't make sense, just be aware
      that this clock is an amusement for programmers, and serves
      no really useful purpose.
    </P
><P
>      It helps to read this clock upside-down! Start at the bottom and 
      read up to the top.
    </P
><P
>      The right-hand pair of columns shows the two digits of the seconds:
      the units on the right, the tens on the left. The centre pair of
      columns shows the two digits of the minutes. The left hand pair of
      columns shows the two digits of the hours.
    </P
><P
>      You add up the values of the illuminated LEDs in each column.
      You should get a number between zero to nine for each. That's
      the time.
    </P
><P
></P
><OL
TYPE="1"
><LI
><P
>         The bottom LED represents 1 when it is illuminated.
      </P
></LI
><LI
><P
>         The next LED represents 2 when it is illuminated.
      </P
></LI
><LI
><P
>         The next LED represents 4 when it is illuminated.
      </P
></LI
><LI
><P
>         The top LED represents 8 when it is illuminated.
      </P
></LI
></OL
><P
>      It is probably simplest to decipher the hours and minutes
      first before trying to follow the seconds, which are always 
      changing.
    </P
><P
>     As an example, we can read the time in <A
HREF="index.html#JBCAPPLET-FIG"
>Figure 1 in the section called <I
>Jon's Binary Clock Applet</I
></A
>. Let's start with the hour.  The first
     column has only 1 LED on, in the second lowest position, so this
     gives us <SPAN
CLASS="QUOTE"
>"2"</SPAN
> for the first digit of the hour.  The
     second column has no LEDs on, so we have a <SPAN
CLASS="QUOTE"
>"0"</SPAN
> for
     the second digit of the hour.  So the hour is <SPAN
CLASS="QUOTE"
>"20"</SPAN
>,
     or 8PM for people who like AM/PM notation.  Looking at the
     minutes, we have <SPAN
CLASS="QUOTE"
>"0"</SPAN
> for the first digit, and
     <SPAN
CLASS="QUOTE"
>"1"</SPAN
> for the second digit since only the bottom LED
     is lit.  This gives us "20:01" so far.  Lastly, we have the
     seconds.  For the first digit, we have the lowest two LED's
     lit. These have value 1 (for the lowest) and 2 (second lowest)
     for a total of <SPAN
CLASS="QUOTE"
>"3"</SPAN
>.  And the second column of the
     seconds has the top LED lit, with a value of
     <SPAN
CLASS="QUOTE"
>"8"</SPAN
>. Thus, the time is <SPAN
CLASS="QUOTE"
>"20:01:38"</SPAN
>, or
     <SPAN
CLASS="QUOTE"
>"8:01:38PM"</SPAN
>.
    </P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="JBC-BUGS"
>Known Bugs and Limitations</A
></H2
><P
>    If you add it to a vertical panel, it is a nice size. If you then
    move it to a horizonal panel, it changes size in the  horizontal
    panel. If you move it back to a vertical panel, it doesn't change
    size back, and forces the panel to widen itself.
   </P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AUTHORS"
>Authors</A
></H2
><P
>    <TT
CLASS="APPLICATION"
>Jon's Binary Clock</TT
> was written by Jon
    Anhold (<TT
CLASS="EMAIL"
>&#60;<A
HREF="mailto:jon@snoopy.net"
>jon@snoopy.net</A
>&#62;</TT
>.  Please send all comments,
    suggestions, and bug  reports to the <A
HREF="http://bugs.gnome.org"
TARGET="_top"
>GNOME bug tracking
    database</A
>. (Instructions for submitting bug reports can be
    found <A
HREF="http://bugs.gnome.org/Reporting.html"
TARGET="_top"
> on-line</A
>. If you are using GNOME 1.1 or later,
    you can also use <TT
CLASS="APPLICATION"
>Bug Report Tool</TT
>
    (<B
CLASS="COMMAND"
>bug-buddy</B
>), available in the
    <B
CLASS="GUISUBMENU"
>Utilities</B
> submenu of <B
CLASS="GUIMENU"
>Main
    Menu</B
>, for submitting bug reports.
   </P
><P
>    This manual was written by Telsa Gwynne
    (<TT
CLASS="EMAIL"
>&#60;<A
HREF="mailto:hobbit@aloss.ukuu.org.uk"
>hobbit@aloss.ukuu.org.uk</A
>&#62;</TT
>).  Please send all
    comments and suggestions regarding this manual to the <A
HREF="http://www.gnome.org/gdp"
TARGET="_top"
>GNOME Documentation
    Project</A
> by sending an email to
    <TT
CLASS="EMAIL"
>&#60;<A
HREF="mailto:docs@gnome.org"
>docs@gnome.org</A
>&#62;</TT
>. You can also submit comments online
    by using the <A
HREF="http://www.gnome.org/gdp/doctable/"
TARGET="_top"
>GNOME Documentation
    Status Table</A
>.
   </P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="LICENSE"
>License</A
></H2
><P
>    This program is free software; you can redistribute it and/or
    modify it under the terms of the <I
CLASS="CITETITLE"
>GNU General Public
    License</I
> as published by the Free Software Foundation;
    either version 2 of the License, or (at your option) any later
    version.
   </P
><P
>    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    <I
CLASS="CITETITLE"
>GNU General Public License</I
> for more details.
   </P
><P
>    A copy of the <I
CLASS="CITETITLE"
>GNU General Public License</I
> is
    included as an appendix to the <I
CLASS="CITETITLE"
>GNOME Users
    Guide</I
>.  You may also obtain a copy of the
    <I
CLASS="CITETITLE"
>GNU General Public License</I
> from the Free
    Software Foundation by visiting <A
HREF="http://www.fsf.org"
TARGET="_top"
>their Web site</A
> or by writing to
    <P
CLASS="ADDRESS"
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Free&nbsp;Software&nbsp;Foundation,&nbsp;Inc.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN
CLASS="STREET"
>59 Temple Place</SPAN
>&nbsp;-&nbsp;Suite&nbsp;330<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN
CLASS="CITY"
>Boston</SPAN
>,&nbsp;<SPAN
CLASS="STATE"
>MA</SPAN
>&nbsp;<SPAN
CLASS="POSTCODE"
>02111-1307</SPAN
><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN
CLASS="COUNTRY"
>USA</SPAN
><br>
&nbsp;&nbsp;&nbsp;&nbsp;</P
>
   </P
></DIV
></DIV
></DIV
></BODY
></HTML
>