JagoClient can be set up as a local game viewer in two ways, locally (for files on the local disk) or on the Web (for files on the same server). To see an example of the latter, go to this page.
To view a local game enter the command
jre -cp jago.jar LocalGo
(or corrsponding commands for other OSs) or optionally
jre -cp jago.jar game.sgf
to quickly load a game.
If you want to publish sgf files on your web page, you need to copy jago.jar to your your web server. You can either use it to display a single file or to give the user a choice of several files.
To create a single file, your applet must look like this
<APPLET NAME="Jago" CODE="JagoGame.class" WIDTH="400" HEIGHT="300" ALIGN="TOP" ARCHIVE="jago.jar"> <PARAM NAME="Game" VALUE="http://your.server.org/~yourhome/sgf/Betty-Me.sgf"> You're Browser does not support Java! </APPLET>
To present a list of files, you need to create a list of sgf files containing names and URLs to the files as this
Betty-Me http://your.server.org/~yourhome/sgf/Betty-Me.sgf
Put that list into a file on your server. Now, create a page containing the applet like this
<APPLET NAME="Jago" CODE="JagoGame.class" WIDTH="400" HEIGHT="300" ALIGN="TOP" ARCHIVE="jago.jar"> <PARAM NAME="Games" VALUE="http://your.server.org/~yourhome/sgf/homes.lst"> You're Browser does not support Java! </APPLET>
Of course the Games parameter must point to your file containing the game list.