JWAVE User Guide > Advanced Graphics Features > Running the Demonstration Applets
  

Running the Demonstration Applets
Several applets that demonstrate the use of the advanced graphics features are located in:
(UNIX) RW_DIR/classes/jwave_demos/canvas2d
RW_DIR/classes/jwave_demos/canvas3d
RW_DIR/classes/jwave_demos/panel2d
RW_DIR/classes/jwave_demos/panel3d
(WIN) RW_DIR\classes\jwave_demos\canvas2d
RW_DIR\classes\jwave_demos\canvas3d
RW_DIR\classes\jwave_demos\panel2d
RW_DIR\classes\jwave_demos\panel3d
where RW_DIR is the main Rogue Wave installation directory.
These demonstrations include:
*ShadeSurfDemo—Applet that demonstrates use of Rotation features.
*Demo—an applet that integrates PickPoint, Zoom, Profile features.
Running the Demo Applets
To run these applets, you need to have a properly installed version of JWAVE—3.5 or higher.
Using appletviewer
If you are using appletviewer, do the following:
1. Start the JWAVE manager.
2. Change to the directory:
(UNIX) RW_DIR/classes/jwave_demos/canvas2d
(WIN) RW_DIR\classes\jwave_demos\canvas2d
where RW_DIR is the main Rogue Wave installation directory.
3. Enter:
appletviewer appletname.html 
where appletname is the name of the applet you wish to run. For example:
$ appletviewer demo.html 
Using a Browser
If you are using a browser to connect to JWAVE, do the following:
1. Start the JWAVE Manager.
2. Point the browser to the applet you wish to run, for example:
http://opus:6580/jwave_demos/canvas2d/demo.html
PV‑WAVE Wrappers Used by the Demos
The wrappers used by the example applets are located in:
(UNIX) RW_DIR/jwave-3_6/lib/user
(WIN) RW_DIR\jwave-3_6\lib\user
where RW_DIR is the main Rogue Wave installation directory.
The wrappers handle reading a data file, storing data in the Data Manager, and creating plots using the data and parameters retrieved from the applet.
PV-WAVE Wrappers shows the PV‑WAVE wrappers used by the demonstration plugin applets.
 
Table 9-1: PV-WAVE Wrappers
Demo
PV‑WAVE Wrapper
Demo
wimage.pro
wprofile.pro
wreaddata.pro
ShadeSurfDemo
wsurface.pro
wreaddata.pro
 

Version 3.6
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.