readme

来自「java开源的企业总线.xmlBlaster」· 代码 · 共 50 行

TXT
50
字号
http://www.xmlblaster.org/xmlBlaster/demo/javaclients/svg/rhino/READMEPlease read  http://www.xmlblaster.org/xmlBlaster/doc/requirements/client.javascript.rhino.htmlfirst.This is a demo which shows the possibilities of xmlBlaster whencombining it with javascript (using the rhino LiveConnect feature)and with SVG. It has currently been tested with the batik browserbut it should also work with Mozilla (with native svg).How to use it:1) start a session of the xmlBlaster server (the chessRhino.svg isconfigured for the localhost. If you use an other host, please change chessRhino.svg) by invokingjava org.xmlBlaster.Main2) On another terminal start the svgbrowser from batik by invoking      java -Djava.security.policy=${XMLBLASTER_HOME}/config/xmlBlaster.policy         org.apache.batik.apps.svgbrowser.Main        $XMLBLASTER_HOME/demo/javaclients/svg/rhino/chessRhino.svgThis loads already the chess game.Assure to load our relaxed xmlBlaster.policy to avoid 'access denied' exceptions3) start another svgbrowser on another terminal as you did in 2) and then you can startto play chess.To test the performance you can start another client which randomly moves around the chesspieces. This can be done by invoking:java javaclients.svg.rhino.ChessMover -interval 30where 30 here would be the number of milliseconds the application waits between the movement of each piece.EnjoyMichele (michele@laghi.eu)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?