Java GUI for the GNU Gatekeeper
===============================

This is a simple Java GUI that will monitor the gatekeeper.
It can be run either as a stand-alone application from
the command-line ("java GkGUI <gk-ip> <gk-port> [<user> <password>]")
or as an applet. To make it possible to run this GUI in
most popular web browsers, the code is restricted to the
AWT components and it cannot use the Swing library.


Due to security restrictions imposed by the web browser,
the applet must be served by a webserver on the same IP number
as the gatekeeper. It cannot be loaded by a file:// for
this reason.

Some functions of the GUI require at least version 2.0
of the gatekeeper to work correctly.

Using the GUI
-------------

Once you have started the application or applet, you can see
three buttons and a text box.

Use the "Connect to GK" button to connect to the specified
gatekeeper.

The text box will display all status-events from the gatekeeper.

All endpoints registered with the gatekeeper will show up
as buttons below the text box. A right-click on the endpoint-
button will produce a popup-menu. The popup menu will
allow you to disconnect all current calls for this endpoint
or to forcefully unregister it from the gatekeeper.
(Note that most endpoints will immediately try to re-register
with the gatekeeper.)

A registered endpoint will show up as a green button. Once the
endpoint is engaged in a call the button will turn red.

The "TransferCall" and "Call" function will only appear in
the popup menu when the GUI is run as an application
(applets can't easily get a parent window for the destination
dialog).
