Works in conjuction with the borland.samples.apps.chess.server.ChessServer
sample.
To invoke standalone try:
java borland.samples.apps.chess.client.ChessViewer host=(server
name) image=/images/owlpieces.gif;/images/cmpieces.gif;/images/ibmpieces.gif
or copy the parameters on the above line to the clipboard, then
-
Run | Parameters...
-
<Run/Debug>
-
<Command Line Parameters>
-
Context menu | Paste
-
<Ok>
-
Run | Run
If you are running standalone and the ChessServer is running on a machine
that is not configured as a web server, you may need to point the image
parameter to local images as in
image=file:///c:/jbuilder/samples/borland/samples/apps/chess/client/images/owlpieces.gif
If you run the ChessServer on a machine that is a web server and you
deploy the ChessViewer classes, images, and html file on the web server,
you can debug the remote html page's applet:
-
Run | Parameters...
-
<Run/Debug>
-
<Command Line Parameters> enter the http address of the remote chessviewer.html
file
-
<OK>
-
Select this file in the navigation pane (any html file will do - one without
applet tags works best)
-
Context menu | Debug